@abinnovision/eslint-config-base 3.3.0-beta.1 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.3.0](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.2.2...eslint-config-base-v3.3.0) (2026-04-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * support ESLint 10 in shared configs ([#599](https://github.com/abinnovision/js-commons/issues/599)) ([4de4c56](https://github.com/abinnovision/js-commons/commit/4de4c562df5b43b15de7b52637c7d82bd15e498f))
9
+
3
10
  ## [3.2.2](https://github.com/abinnovision/js-commons/compare/eslint-config-base-v3.2.1...eslint-config-base-v3.2.2) (2026-03-22)
4
11
 
5
12
 
@@ -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", {
@@ -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", {
@@ -27,6 +27,7 @@ const config = (0, eslint_config.defineConfig)([{
27
27
  rules: {
28
28
  "no-console": "off",
29
29
  "max-lines-per-function": "off",
30
+ "import/no-extraneous-dependencies": "off",
30
31
  "@typescript-eslint/no-var-requires": "off"
31
32
  }
32
33
  }]);
@@ -25,6 +25,7 @@ const config = defineConfig([{
25
25
  rules: {
26
26
  "no-console": "off",
27
27
  "max-lines-per-function": "off",
28
+ "import/no-extraneous-dependencies": "off",
28
29
  "@typescript-eslint/no-var-requires": "off"
29
30
  }
30
31
  }]);
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abinnovision/eslint-config-base",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.4.0-beta.1",
4
4
  "repository": {
5
5
  "url": "https://github.com/abinnovision/js-commons"
6
6
  },
@@ -55,7 +55,7 @@
55
55
  "typescript-eslint": "^8.56.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@abinnovision/prettier-config": "^2.1.5",
58
+ "@abinnovision/prettier-config": "^2.2.0",
59
59
  "@internal/tsconfig": "^1.0.0",
60
60
  "eslint": "^10.0.0",
61
61
  "prettier": "^3.4.2",