@ocavue/eslint-config 4.6.0 → 4.7.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/README.md CHANGED
@@ -216,3 +216,11 @@ export default defineESLintConfig(
216
216
  - https://github.com/antfu/eslint-config
217
217
  - https://github.com/sxzz/eslint-config
218
218
  - https://github.com/ntnyq/eslint-config
219
+
220
+ ## Sponsors
221
+
222
+ <p align="center"><a href="https://github.com/sponsors/ocavue"><img src="https://cdn.jsdelivr.net/gh/ocavue/sponsors/sponsorkit/sponsors.svg" alt="My Sponsors"></a></p>
223
+
224
+ ## License
225
+
226
+ MIT
@@ -1 +1 @@
1
- {"version":3,"file":"unicorn.d.ts","sourceRoot":"","sources":["../src/unicorn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAgKjC,CAAA;AAED,wBAAgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAUzC"}
1
+ {"version":3,"file":"unicorn.d.ts","sourceRoot":"","sources":["../src/unicorn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAIpC,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,WAiRjC,CAAA;AAED,wBAAgB,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,CAUzC"}
package/dist/unicorn.js CHANGED
@@ -3,6 +3,8 @@ import plugin from 'eslint-plugin-unicorn';
3
3
  export const unicornRules = {
4
4
  // Improve regexes
5
5
  'unicorn/better-regex': 'error',
6
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/class-reference-in-static-methods.md
7
+ 'unicorn/class-reference-in-static-methods': 'warn',
6
8
  // Require consistent use of escape sequences in template literals
7
9
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
8
10
  'unicorn/consistent-template-literal-escape': 'warn',
@@ -23,32 +25,79 @@ export const unicornRules = {
23
25
  'unicorn/no-array-fill-with-reference-type': 'warn',
24
26
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-from-fill.md
25
27
  'unicorn/no-array-from-fill': 'warn',
28
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-computed-property-existence-check.md
29
+ 'unicorn/no-computed-property-existence-check': 'warn',
30
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-confusing-array-with.md
31
+ 'unicorn/no-confusing-array-with': 'warn',
32
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-declarations-before-early-exit.md
33
+ 'unicorn/no-declarations-before-early-exit': 'warn',
34
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-duplicate-loops.md
35
+ 'unicorn/no-duplicate-loops': 'warn',
26
36
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-duplicate-set-values.md
27
37
  'unicorn/no-duplicate-set-values': 'error',
38
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-error-property-assignment.md
39
+ 'unicorn/no-error-property-assignment': 'warn',
28
40
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-exports-in-scripts.md
29
41
  'unicorn/no-exports-in-scripts': 'error',
30
- // Prefer Unicode escapes over hexadecimal escapes
31
- 'unicorn/no-hex-escape': 'warn',
42
+ // Prefer `for…of` over the `forEach` method.
43
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-for-each.md
44
+ 'unicorn/no-for-each': 'warn',
32
45
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-incorrect-query-selector.md
33
46
  'unicorn/no-incorrect-query-selector': 'warn',
47
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-incorrect-template-string-interpolation.md
48
+ 'unicorn/no-incorrect-template-string-interpolation': 'warn',
34
49
  // Array.isArray instead of instanceof etc
35
50
  'unicorn/no-instanceof-builtins': 'error',
51
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-argument-count.md
52
+ 'unicorn/no-invalid-argument-count': 'warn',
36
53
  // Avoid passing expressions to removeEventListener
37
54
  'unicorn/no-invalid-remove-event-listener': 'warn',
38
55
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-late-current-target-access.md
39
56
  'unicorn/no-late-current-target-access': 'warn',
57
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-mismatched-map-key.md
58
+ 'unicorn/no-mismatched-map-key': 'warn',
40
59
  // Disallow named usage of default import/export
41
60
  'unicorn/no-named-default': 'warn',
61
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-array-predicate.md
62
+ 'unicorn/no-negated-array-predicate': 'warn',
63
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-comparison.md
64
+ 'unicorn/no-negated-comparison': 'warn',
42
65
  // Disallow negating the left side in equality checks
43
66
  'unicorn/no-negation-in-equality-check': 'warn',
44
67
  // Prevent deprecated `new Buffer()`
45
68
  'unicorn/no-new-buffer': 'error',
69
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-object-methods-with-collections.md
70
+ 'unicorn/no-object-methods-with-collections': 'warn',
71
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
72
+ 'unicorn/no-optional-chaining-on-undeclared-variable': 'warn',
73
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-redundant-comparison.md
74
+ 'unicorn/no-redundant-comparison': 'warn',
75
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-return-array-push.md
76
+ 'unicorn/no-return-array-push': 'warn',
77
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-subtraction-comparison.md
78
+ 'unicorn/no-subtraction-comparison': 'warn',
79
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-global-this.md
80
+ 'unicorn/no-unnecessary-global-this': 'warn',
81
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-splice.md
82
+ 'unicorn/no-unnecessary-splice': 'warn',
83
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-buffer-conversion.md
84
+ 'unicorn/no-unsafe-buffer-conversion': 'warn',
85
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-property-key.md
86
+ 'unicorn/no-unsafe-property-key': 'warn',
46
87
  // Keep regex literals safe!
47
88
  'unicorn/no-unsafe-regex': 'off',
89
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-boolean-cast.md
90
+ 'unicorn/no-useless-boolean-cast': 'warn',
91
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-concat.md
92
+ 'unicorn/no-useless-concat': 'warn',
48
93
  // Disallow spreading when direct usage works
49
94
  'unicorn/no-useless-spread': 'warn',
95
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-template-literals.md
96
+ 'unicorn/no-useless-template-literals': 'warn',
50
97
  // Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error')
51
98
  'unicorn/number-literal-case': 'error',
99
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-add-event-listener-options.md
100
+ 'unicorn/prefer-add-event-listener-options': 'warn',
52
101
  // Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
53
102
  'unicorn/prefer-add-event-listener': 'error',
54
103
  // Prefer `.find(…)` and `.findLast(…)` over the first or last element from
@@ -57,6 +106,8 @@ export const unicornRules = {
57
106
  'unicorn/prefer-array-flat-map': 'error',
58
107
  // Prefer Array#flat over manual flattening
59
108
  'unicorn/prefer-array-flat': 'warn',
109
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-from-map.md
110
+ 'unicorn/prefer-array-from-map': 'warn',
60
111
  // Prefer `.flatMap(…)` over `.map(…).flat()`
61
112
  'unicorn/prefer-array-index-of': 'error',
62
113
  // Prefer `.some(…)` over `.filter(…).length` check
@@ -66,13 +117,22 @@ export const unicornRules = {
66
117
  // Prefer Date.now() to get the number of milliseconds since the Unix Epoch
67
118
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
68
119
  'unicorn/prefer-date-now': 'warn',
120
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-direct-iteration.md
121
+ 'unicorn/prefer-direct-iteration': 'warn',
69
122
  // Prefer `export…from` when re-exporting
70
123
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-export-from.md
71
124
  'unicorn/prefer-export-from': ['warn', { checkUsedVariables: false }],
125
+ // Prefer global `NaN` / `Infinity` over the `Number.*` static constants.
126
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-global-number-constants.md
127
+ 'unicorn/prefer-global-number-constants': 'warn',
128
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
129
+ 'unicorn/prefer-identifier-import-export-specifiers': 'warn',
72
130
  // Prefer `import.meta.dirname` over `path.dirname(fileURLToPath(import.meta.url))`
73
131
  'unicorn/prefer-import-meta-properties': 'warn',
74
132
  // includes over indexOf when checking for existence
75
133
  'unicorn/prefer-includes': 'error',
134
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterable-in-constructor.md
135
+ 'unicorn/prefer-iterable-in-constructor': 'warn',
76
136
  // Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`
77
137
  'unicorn/prefer-keyboard-event-key': 'error',
78
138
  // Enforce the use of `Math.trunc` instead of bitwise operators.
@@ -81,13 +141,21 @@ export const unicornRules = {
81
141
  'unicorn/prefer-negative-index': 'error',
82
142
  // Prefer using the node: protocol
83
143
  'unicorn/prefer-node-protocol': 'error',
84
- // Prefer `Number` static properties over global ones.
85
- 'unicorn/prefer-number-properties': 'warn',
144
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-number-is-safe-integer.md
145
+ 'unicorn/prefer-number-is-safe-integer': 'warn',
146
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-define-properties.md
147
+ 'unicorn/prefer-object-define-properties': 'warn',
148
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-destructuring-defaults.md
149
+ 'unicorn/prefer-object-destructuring-defaults': 'warn',
150
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-iterable-methods.md
151
+ 'unicorn/prefer-object-iterable-methods': 'warn',
86
152
  // Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`
87
153
  'unicorn/prefer-regexp-test': 'warn',
88
154
  // Prefer simple condition first in if statements
89
155
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
90
156
  'unicorn/prefer-simple-condition-first': 'warn',
157
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-single-object-destructuring.md
158
+ 'unicorn/prefer-single-object-destructuring': 'warn',
91
159
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-match-all.md
92
160
  'unicorn/prefer-string-match-all': 'error',
93
161
  // Prefer using the `String.raw` tag to avoid escaping `\`
@@ -103,8 +171,16 @@ export const unicornRules = {
103
171
  'unicorn/prefer-structured-clone': 'warn',
104
172
  // Enforce throwing type error when throwing error while checking typeof
105
173
  'unicorn/prefer-type-error': 'error',
174
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-unicode-code-point-escapes.md
175
+ 'unicorn/prefer-unicode-code-point-escapes': 'warn',
176
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-url-href.md
177
+ 'unicorn/prefer-url-href': 'warn',
178
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-array-sort-compare.md
179
+ 'unicorn/require-array-sort-compare': 'warn',
106
180
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-css-escape.md
107
181
  'unicorn/require-css-escape': 'warn',
182
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-proxy-trap-boolean-return.md
183
+ 'unicorn/require-proxy-trap-boolean-return': 'warn',
108
184
  // Enforce consistent break position in switch cases
109
185
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
110
186
  'unicorn/switch-case-break-position': 'error',
@@ -1 +1 @@
1
- {"version":3,"file":"unicorn.js","sourceRoot":"","sources":["../src/unicorn.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAE1C,eAAe;AACf,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,kBAAkB;IAClB,sBAAsB,EAAE,OAAO;IAE/B,kEAAkE;IAClE,sHAAsH;IACtH,4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AuE;IACvE,wCAAwC,EAAE,OAAO;IAEjD,wDAAwD;IACxD,iCAAiC,EAAE,MAAM;IAEzC,wEAAwE;IACxE,2BAA2B,EAAE,OAAO;IAEpC,qHAAqH;IACrH,2CAA2C,EAAE,MAAM;IAEnD,mGAAmG;IACnG,yBAAyB,EAAE,MAAM;IAEjC,8GAA8G;IAC9G,oCAAoC,EAAE,MAAM;IAE5C,sGAAsG;IACtG,4BAA4B,EAAE,MAAM;IAEpC,qHAAqH;IACrH,2CAA2C,EAAE,MAAM;IAEnD,oDAAoD;IACpD,8GAA8G;IAC9G,oCAAoC,EAAE,OAAO;IAE7C,8BAA8B;IAC9B,yBAAyB,EAAE,OAAO;CACnC,CAAA;AAED,MAAM,UAAU,OAAO;IACrB,OAAO;QACL;YACE,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,OAAO,EAAE,MAAM;aAChB;YACD,KAAK,EAAE,YAAY;SACpB;KACF,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/eslint-config",
3
3
  "type": "module",
4
- "version": "4.6.0",
4
+ "version": "4.7.0",
5
5
  "description": "Opinionated ESLint config preset",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "eslint-plugin-package-json": "^1.1.0",
41
41
  "eslint-plugin-perfectionist": "^5.9.0",
42
42
  "eslint-plugin-react-hooks": "^7.1.1",
43
- "eslint-plugin-unicorn": "^65.0.1",
43
+ "eslint-plugin-unicorn": "^66.0.0",
44
44
  "eslint-plugin-vue": "^10.9.1",
45
45
  "globals": "^17.6.0",
46
46
  "typescript-eslint": "^8.59.4",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "@ocavue/tsconfig": "^0.7.1",
51
- "@types/node": "^20.19.27",
51
+ "@types/node": "^22.0.0",
52
52
  "eslint": "^10.4.0",
53
53
  "jiti": "^2.7.0",
54
54
  "knip": "^6.14.2",