@ocavue/eslint-config 4.6.0 → 4.7.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/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,WAqQjC,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,40 +25,83 @@ 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-duplicate-loops.md
33
+ 'unicorn/no-duplicate-loops': 'warn',
26
34
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-duplicate-set-values.md
27
35
  'unicorn/no-duplicate-set-values': 'error',
36
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-error-property-assignment.md
37
+ 'unicorn/no-error-property-assignment': 'warn',
28
38
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-exports-in-scripts.md
29
39
  'unicorn/no-exports-in-scripts': 'error',
30
- // Prefer Unicode escapes over hexadecimal escapes
31
- 'unicorn/no-hex-escape': 'warn',
40
+ // Prefer `for…of` over the `forEach` method.
41
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-for-each.md
42
+ 'unicorn/no-for-each': 'warn',
32
43
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-incorrect-query-selector.md
33
44
  'unicorn/no-incorrect-query-selector': 'warn',
45
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-incorrect-template-string-interpolation.md
46
+ 'unicorn/no-incorrect-template-string-interpolation': 'warn',
34
47
  // Array.isArray instead of instanceof etc
35
48
  'unicorn/no-instanceof-builtins': 'error',
49
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-argument-count.md
50
+ 'unicorn/no-invalid-argument-count': 'warn',
36
51
  // Avoid passing expressions to removeEventListener
37
52
  'unicorn/no-invalid-remove-event-listener': 'warn',
38
53
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-late-current-target-access.md
39
54
  'unicorn/no-late-current-target-access': 'warn',
55
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-mismatched-map-key.md
56
+ 'unicorn/no-mismatched-map-key': 'warn',
40
57
  // Disallow named usage of default import/export
41
58
  'unicorn/no-named-default': 'warn',
59
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-comparison.md
60
+ 'unicorn/no-negated-comparison': 'warn',
42
61
  // Disallow negating the left side in equality checks
43
62
  'unicorn/no-negation-in-equality-check': 'warn',
44
63
  // Prevent deprecated `new Buffer()`
45
64
  'unicorn/no-new-buffer': 'error',
65
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-object-methods-with-collections.md
66
+ 'unicorn/no-object-methods-with-collections': 'warn',
67
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
68
+ 'unicorn/no-optional-chaining-on-undeclared-variable': 'warn',
69
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-redundant-comparison.md
70
+ 'unicorn/no-redundant-comparison': 'warn',
71
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-return-array-push.md
72
+ 'unicorn/no-return-array-push': 'warn',
73
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-subtraction-comparison.md
74
+ 'unicorn/no-subtraction-comparison': 'warn',
75
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-global-this.md
76
+ 'unicorn/no-unnecessary-global-this': 'warn',
77
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-splice.md
78
+ 'unicorn/no-unnecessary-splice': 'warn',
79
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-buffer-conversion.md
80
+ 'unicorn/no-unsafe-buffer-conversion': 'warn',
81
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-property-key.md
82
+ 'unicorn/no-unsafe-property-key': 'warn',
46
83
  // Keep regex literals safe!
47
84
  'unicorn/no-unsafe-regex': 'off',
85
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-boolean-cast.md
86
+ 'unicorn/no-useless-boolean-cast': 'warn',
87
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-concat.md
88
+ 'unicorn/no-useless-concat': 'warn',
48
89
  // Disallow spreading when direct usage works
49
90
  'unicorn/no-useless-spread': 'warn',
91
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-template-literals.md
92
+ 'unicorn/no-useless-template-literals': 'warn',
50
93
  // Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error')
51
94
  'unicorn/number-literal-case': 'error',
95
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-add-event-listener-options.md
96
+ 'unicorn/prefer-add-event-listener-options': 'warn',
52
97
  // Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
53
98
  'unicorn/prefer-add-event-listener': 'error',
54
99
  // Prefer `.find(…)` and `.findLast(…)` over the first or last element from
55
100
  'unicorn/prefer-array-find': 'error',
56
- // Prefer `.flatMap(…)` over `.map(…).flat()`.
57
- 'unicorn/prefer-array-flat-map': 'error',
58
101
  // Prefer Array#flat over manual flattening
59
102
  'unicorn/prefer-array-flat': 'warn',
103
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-from-map.md
104
+ 'unicorn/prefer-array-from-map': 'warn',
60
105
  // Prefer `.flatMap(…)` over `.map(…).flat()`
61
106
  'unicorn/prefer-array-index-of': 'error',
62
107
  // Prefer `.some(…)` over `.filter(…).length` check
@@ -66,13 +111,22 @@ export const unicornRules = {
66
111
  // Prefer Date.now() to get the number of milliseconds since the Unix Epoch
67
112
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
68
113
  'unicorn/prefer-date-now': 'warn',
114
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-direct-iteration.md
115
+ 'unicorn/prefer-direct-iteration': 'warn',
69
116
  // Prefer `export…from` when re-exporting
70
117
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-export-from.md
71
118
  'unicorn/prefer-export-from': ['warn', { checkUsedVariables: false }],
119
+ // Prefer global `NaN` / `Infinity` over the `Number.*` static constants.
120
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-global-number-constants.md
121
+ 'unicorn/prefer-global-number-constants': 'warn',
122
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
123
+ 'unicorn/prefer-identifier-import-export-specifiers': 'warn',
72
124
  // Prefer `import.meta.dirname` over `path.dirname(fileURLToPath(import.meta.url))`
73
125
  'unicorn/prefer-import-meta-properties': 'warn',
74
126
  // includes over indexOf when checking for existence
75
127
  'unicorn/prefer-includes': 'error',
128
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterable-in-constructor.md
129
+ 'unicorn/prefer-iterable-in-constructor': 'warn',
76
130
  // Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`
77
131
  'unicorn/prefer-keyboard-event-key': 'error',
78
132
  // Enforce the use of `Math.trunc` instead of bitwise operators.
@@ -81,13 +135,21 @@ export const unicornRules = {
81
135
  'unicorn/prefer-negative-index': 'error',
82
136
  // Prefer using the node: protocol
83
137
  'unicorn/prefer-node-protocol': 'error',
84
- // Prefer `Number` static properties over global ones.
85
- 'unicorn/prefer-number-properties': 'warn',
138
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-number-is-safe-integer.md
139
+ 'unicorn/prefer-number-is-safe-integer': 'warn',
140
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-define-properties.md
141
+ 'unicorn/prefer-object-define-properties': 'warn',
142
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-destructuring-defaults.md
143
+ 'unicorn/prefer-object-destructuring-defaults': 'warn',
144
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-iterable-methods.md
145
+ 'unicorn/prefer-object-iterable-methods': 'warn',
86
146
  // Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`
87
147
  'unicorn/prefer-regexp-test': 'warn',
88
148
  // Prefer simple condition first in if statements
89
149
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
90
150
  'unicorn/prefer-simple-condition-first': 'warn',
151
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-single-object-destructuring.md
152
+ 'unicorn/prefer-single-object-destructuring': 'warn',
91
153
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-match-all.md
92
154
  'unicorn/prefer-string-match-all': 'error',
93
155
  // Prefer using the `String.raw` tag to avoid escaping `\`
@@ -103,8 +165,14 @@ export const unicornRules = {
103
165
  'unicorn/prefer-structured-clone': 'warn',
104
166
  // Enforce throwing type error when throwing error while checking typeof
105
167
  'unicorn/prefer-type-error': 'error',
168
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-unicode-code-point-escapes.md
169
+ 'unicorn/prefer-unicode-code-point-escapes': 'warn',
170
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-url-href.md
171
+ 'unicorn/prefer-url-href': 'warn',
106
172
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-css-escape.md
107
173
  'unicorn/require-css-escape': 'warn',
174
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-proxy-trap-boolean-return.md
175
+ 'unicorn/require-proxy-trap-boolean-return': 'warn',
108
176
  // Enforce consistent break position in switch cases
109
177
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
110
178
  '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,4CAA4C,EAAE,MAAM;IAEpD,0CAA0C;IAC1C,uBAAuB,EAAE,OAAO;IAEhC,0BAA0B;IAC1B,qBAAqB,EAAE,OAAO;IAE9B,6CAA6C;IAC7C,0GAA0G;IAC1G,gCAAgC,EAAE,OAAO;IAEzC,sEAAsE;IACtE,+BAA+B,EAAE,OAAO;IAExC,+DAA+D;IAC/D,mCAAmC,EAAE,OAAO;IAE5C,4DAA4D;IAC5D,+BAA+B,EAAE,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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.1",
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",