eslint-config-seekingalpha-base 12.2.0 → 12.4.0

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.4.0 - 2026-07-28
4
+
5
+ - [new] extend oxlint config
6
+
7
+ ## 12.3.0 - 2026-07-25
8
+
9
+ - [deps] update `eslint` to version `10.8.0`
10
+
3
11
  ## 12.2.0 - 2026-07-22
4
12
 
5
13
  - [new] unicorn rules
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/
6
6
 
7
7
  Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):
8
8
 
9
- npm install eslint@10.7.0 eslint-plugin-import-x@4.17.1 eslint-plugin-promise@7.3.0 eslint-plugin-unicorn@65.0.1 --save-dev
9
+ npm install eslint@10.8.0 eslint-plugin-import-x@4.17.1 eslint-plugin-promise@7.3.0 eslint-plugin-unicorn@65.0.1 --save-dev
10
10
 
11
11
  Install SeekingAlpha shareable ESLint:
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-base",
3
- "version": "12.2.0",
3
+ "version": "12.4.0",
4
4
  "description": "SeekingAlpha's sharable base ESLint config",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -48,13 +48,13 @@
48
48
  "node": ">= 24"
49
49
  },
50
50
  "peerDependencies": {
51
- "eslint": "10.7.0",
51
+ "eslint": "10.8.0",
52
52
  "eslint-plugin-import-x": "4.17.1",
53
53
  "eslint-plugin-promise": "7.3.0",
54
54
  "eslint-plugin-unicorn": "72.0.0"
55
55
  },
56
56
  "devDependencies": {
57
- "eslint": "10.7.0",
57
+ "eslint": "10.8.0",
58
58
  "eslint-plugin-import-x": "4.17.1",
59
59
  "eslint-plugin-promise": "7.3.0",
60
60
  "eslint-plugin-unicorn": "72.0.0"
@@ -167,6 +167,7 @@ export default {
167
167
  exceptions: [],
168
168
  },
169
169
  ],
170
+ 'id-denylist': 'off',
170
171
  'id-match': 'off',
171
172
  'init-declarations': 'off',
172
173
  'logical-assignment-operators': ['error', 'always'],
@@ -78,6 +78,7 @@ export const ESLintDisabled = {
78
78
  'grouped-accessor-pairs': 'off',
79
79
  'guard-for-in': 'off',
80
80
  'id-length': 'off',
81
+ 'id-denylist': 'off',
81
82
  'id-match': 'off',
82
83
  'init-declarations': 'off',
83
84
  'logical-assignment-operators': 'off',
@@ -267,9 +267,6 @@ export default {
267
267
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-global-object-property-assignment.md
268
268
  'unicorn/no-global-object-property-assignment': 'error',
269
269
 
270
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-hex-escape.md
271
- 'unicorn/no-hex-escape': 'error',
272
-
273
270
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-immediate-mutation.md
274
271
  'unicorn/no-immediate-mutation': 'error',
275
272
 
@@ -283,9 +280,6 @@ export default {
283
280
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-incorrect-template-string-interpolation.md
284
281
  'unicorn/no-incorrect-template-string-interpolation': 'off',
285
282
 
286
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/no-instanceof-array.md
287
- 'unicorn/no-instanceof-array': 'error',
288
-
289
283
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-instanceof-builtins.md
290
284
  'unicorn/no-instanceof-builtins': 'error',
291
285
 
@@ -337,7 +331,6 @@ export default {
337
331
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-mismatched-map-key.md
338
332
  'unicorn/no-mismatched-map-key': 'error',
339
333
 
340
- // oxlint-disable-next-line @cspell/spellchecker
341
334
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-misrefactored-assignment.md
342
335
  'unicorn/no-misrefactored-assignment': 'error',
343
336
 
@@ -786,9 +779,6 @@ export default {
786
779
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterator-to-array-at-end.md
787
780
  'unicorn/prefer-iterator-to-array-at-end': 'error',
788
781
 
789
- // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-json-parse-buffer.md
790
- 'unicorn/prefer-json-parse-buffer': 'error',
791
-
792
782
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-keyboard-event-key.md
793
783
  'unicorn/prefer-keyboard-event-key': 'error',
794
784
 
@@ -1075,5 +1065,9 @@ export default {
1075
1065
 
1076
1066
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/try-complexity.md
1077
1067
  'unicorn/try-complexity': 'off',
1068
+
1069
+ 'unicorn/no-for-each': 'off',
1070
+
1071
+ 'unicorn/no-unnecessary-array-flat-map': 'error',
1078
1072
  },
1079
1073
  };
@@ -44,7 +44,6 @@ export default {
44
44
  'unicorn/no-instanceof-builtins': 'error',
45
45
  'unicorn/no-invalid-fetch-options': 'error',
46
46
  'unicorn/no-invalid-remove-event-listener': 'error',
47
- 'unicorn/no-length-as-slice-end': 'off',
48
47
  'unicorn/no-lonely-if': 'error',
49
48
  'unicorn/no-magic-array-flat-depth': 'error',
50
49
  'unicorn/no-negation-in-equality-check': 'error',
@@ -31,13 +31,10 @@ export const ESLintPluginUnicornDisabled = {
31
31
  'unicorn/no-console-spaces': 'off',
32
32
  'unicorn/no-document-cookie': 'off',
33
33
  'unicorn/no-empty-file': 'off',
34
- 'unicorn/no-hex-escape': 'off',
35
34
  'unicorn/no-immediate-mutation': 'off',
36
- 'unicorn/no-instanceof-array': 'off',
37
35
  'unicorn/no-instanceof-builtins': 'off',
38
36
  'unicorn/no-invalid-fetch-options': 'off',
39
37
  'unicorn/no-invalid-remove-event-listener': 'off',
40
- 'unicorn/no-length-as-slice-end': 'off',
41
38
  'unicorn/no-lonely-if': 'off',
42
39
  'unicorn/no-magic-array-flat-depth': 'off',
43
40
  'unicorn/no-negation-in-equality-check': 'off',