eslint-config-seekingalpha-base 12.3.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 +4 -0
- package/package.json +1 -1
- package/rules/eslint/oxlint-config.js +1 -0
- package/rules/eslint/oxlint-disabled.js +1 -0
- package/rules/eslint-plugin-unicorn/index.js +4 -9
- package/rules/eslint-plugin-unicorn/oxlint-config.js +0 -1
- package/rules/eslint-plugin-unicorn/oxlint-disabled.js +0 -3
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -785,9 +779,6 @@ export default {
|
|
|
785
779
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-iterator-to-array-at-end.md
|
|
786
780
|
'unicorn/prefer-iterator-to-array-at-end': 'error',
|
|
787
781
|
|
|
788
|
-
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-json-parse-buffer.md
|
|
789
|
-
'unicorn/prefer-json-parse-buffer': 'error',
|
|
790
|
-
|
|
791
782
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-keyboard-event-key.md
|
|
792
783
|
'unicorn/prefer-keyboard-event-key': 'error',
|
|
793
784
|
|
|
@@ -1074,5 +1065,9 @@ export default {
|
|
|
1074
1065
|
|
|
1075
1066
|
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/try-complexity.md
|
|
1076
1067
|
'unicorn/try-complexity': 'off',
|
|
1068
|
+
|
|
1069
|
+
'unicorn/no-for-each': 'off',
|
|
1070
|
+
|
|
1071
|
+
'unicorn/no-unnecessary-array-flat-map': 'error',
|
|
1077
1072
|
},
|
|
1078
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',
|