@repodog/eslint-config 9.0.32 → 9.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -8
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -38,12 +38,7 @@ export default tsEslint.config(
|
|
|
38
38
|
],
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
extends: [
|
|
42
|
-
stylistic.configs.recommended,
|
|
43
|
-
eslint.configs.recommended,
|
|
44
|
-
importX.flatConfigs.recommended,
|
|
45
|
-
unicorn.configs.recommended,
|
|
46
|
-
],
|
|
41
|
+
extends: [eslint.configs.recommended, importX.flatConfigs.recommended, unicorn.configs.recommended],
|
|
47
42
|
files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
|
|
48
43
|
languageOptions: {
|
|
49
44
|
ecmaVersion: 'latest',
|
|
@@ -57,6 +52,7 @@ export default tsEslint.config(
|
|
|
57
52
|
sourceType: 'module',
|
|
58
53
|
},
|
|
59
54
|
plugins: {
|
|
55
|
+
'@stylistic': stylistic,
|
|
60
56
|
'eslint-comments': fixupPluginRules(eslintComments),
|
|
61
57
|
'prefer-arrow': fixupPluginRules(preferArrow),
|
|
62
58
|
'sort-destructure-keys': sortDestructureKeys,
|
|
@@ -118,8 +114,6 @@ export default tsEslint.config(
|
|
|
118
114
|
'eslint-comments/no-unused-enable': 2,
|
|
119
115
|
'import-x/extensions': [2, 'ignorePackages'],
|
|
120
116
|
'import-x/namespace': 0,
|
|
121
|
-
// This rule doesn't work on TypeScript files currently.
|
|
122
|
-
// https://github.com/un-ts/eslint-plugin-import-x/issues/144
|
|
123
117
|
'import-x/no-default-export': 2,
|
|
124
118
|
'import-x/no-extraneous-dependencies': [
|
|
125
119
|
2,
|