@abinnovision/eslint-config-base 3.3.0 → 3.4.0-beta.1
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/dist/configs/base.cjs
CHANGED
|
@@ -99,6 +99,26 @@ const config = (0, eslint_config.defineConfig)([{
|
|
|
99
99
|
"import/exports-last": "warn",
|
|
100
100
|
"import/first": "error",
|
|
101
101
|
"import/newline-after-import": "error",
|
|
102
|
+
"import/no-duplicates": ["error", { "prefer-inline": false }],
|
|
103
|
+
"import/no-self-import": "error",
|
|
104
|
+
"import/no-useless-path-segments": "error",
|
|
105
|
+
"import/no-empty-named-blocks": "error",
|
|
106
|
+
"import/no-mutable-exports": "error",
|
|
107
|
+
"import/no-relative-packages": "error",
|
|
108
|
+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
109
|
+
"import/no-extraneous-dependencies": ["error", {
|
|
110
|
+
devDependencies: [
|
|
111
|
+
"**/*.{test,spec}.{ts,tsx,js,jsx,mts,mjs,cts,cjs}",
|
|
112
|
+
"**/__tests__/**/*.{ts,tsx,js,jsx}",
|
|
113
|
+
"**/*.config.{ts,js,mts,mjs,cts,cjs}",
|
|
114
|
+
"**/vitest.config.{ts,js,mts,mjs}",
|
|
115
|
+
"**/eslint.config.{ts,js,mts,mjs}",
|
|
116
|
+
"**/scripts/**/*.{ts,js,mts,mjs,cts,cjs}"
|
|
117
|
+
],
|
|
118
|
+
optionalDependencies: false,
|
|
119
|
+
peerDependencies: true,
|
|
120
|
+
bundledDependencies: true
|
|
121
|
+
}],
|
|
102
122
|
"no-unused-vars": "off",
|
|
103
123
|
"uimports/no-unused-imports": "error",
|
|
104
124
|
"uimports/no-unused-vars": ["warn", {
|
package/dist/configs/base.mjs
CHANGED
|
@@ -94,6 +94,26 @@ const config = defineConfig([{
|
|
|
94
94
|
"import/exports-last": "warn",
|
|
95
95
|
"import/first": "error",
|
|
96
96
|
"import/newline-after-import": "error",
|
|
97
|
+
"import/no-duplicates": ["error", { "prefer-inline": false }],
|
|
98
|
+
"import/no-self-import": "error",
|
|
99
|
+
"import/no-useless-path-segments": "error",
|
|
100
|
+
"import/no-empty-named-blocks": "error",
|
|
101
|
+
"import/no-mutable-exports": "error",
|
|
102
|
+
"import/no-relative-packages": "error",
|
|
103
|
+
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
|
|
104
|
+
"import/no-extraneous-dependencies": ["error", {
|
|
105
|
+
devDependencies: [
|
|
106
|
+
"**/*.{test,spec}.{ts,tsx,js,jsx,mts,mjs,cts,cjs}",
|
|
107
|
+
"**/__tests__/**/*.{ts,tsx,js,jsx}",
|
|
108
|
+
"**/*.config.{ts,js,mts,mjs,cts,cjs}",
|
|
109
|
+
"**/vitest.config.{ts,js,mts,mjs}",
|
|
110
|
+
"**/eslint.config.{ts,js,mts,mjs}",
|
|
111
|
+
"**/scripts/**/*.{ts,js,mts,mjs,cts,cjs}"
|
|
112
|
+
],
|
|
113
|
+
optionalDependencies: false,
|
|
114
|
+
peerDependencies: true,
|
|
115
|
+
bundledDependencies: true
|
|
116
|
+
}],
|
|
97
117
|
"no-unused-vars": "off",
|
|
98
118
|
"uimports/no-unused-imports": "error",
|
|
99
119
|
"uimports/no-unused-vars": ["warn", {
|
|
@@ -41,6 +41,7 @@ const config = (0, eslint_config.defineConfig)([{
|
|
|
41
41
|
"@typescript-eslint/no-empty-function": "off",
|
|
42
42
|
"no-magic-numbers": "off",
|
|
43
43
|
"no-console": "off",
|
|
44
|
+
"import/no-extraneous-dependencies": "off",
|
|
44
45
|
"vitest/no-focused-tests": "error",
|
|
45
46
|
"vitest/no-disabled-tests": "warn",
|
|
46
47
|
"vitest/prefer-lowercase-title": "warn",
|
|
@@ -39,6 +39,7 @@ const config = defineConfig([{
|
|
|
39
39
|
"@typescript-eslint/no-empty-function": "off",
|
|
40
40
|
"no-magic-numbers": "off",
|
|
41
41
|
"no-console": "off",
|
|
42
|
+
"import/no-extraneous-dependencies": "off",
|
|
42
43
|
"vitest/no-focused-tests": "error",
|
|
43
44
|
"vitest/no-disabled-tests": "warn",
|
|
44
45
|
"vitest/prefer-lowercase-title": "warn",
|