Skip to content

Commit 3ff5ddd

Browse files
oxc-botBoshen
andauthored
release: v0.9.1 (#148)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <Boshen@users.noreply.github.com>
1 parent c7c9498 commit 3ff5ddd

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-oxlint",
3-
"version": "0.9.0",
3+
"version": "0.9.1",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"packageManager": "pnpm@9.8.0",

src/rules-by-category.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const styleRules = {
150150
'unicorn/prefer-logical-operator-over-ternary': 'off',
151151
'unicorn/prefer-modern-dom-apis': 'off',
152152
'unicorn/prefer-reflect-apply': 'off',
153+
'vitest/prefer-each': 'off',
153154
};
154155

155156
const conditionalFixRules = {
@@ -170,13 +171,16 @@ const conditionalFixRules = {
170171
'@typescript-eslint/prefer-function-type': 'off',
171172
'unicorn/explicit-length-check': 'off',
172173
'unicorn/no-nested-ternary': 'off',
174+
'unicorn/no-null': 'off',
173175
'unicorn/no-single-promise-in-promise-methods': 'off',
174176
'unicorn/no-unnecessary-await': 'off',
175177
'unicorn/no-useless-fallback-in-spread': 'off',
176178
'unicorn/no-useless-spread': 'off',
179+
'unicorn/prefer-array-flat': 'off',
177180
'unicorn/prefer-dom-node-text-content': 'off',
178181
'unicorn/prefer-query-selector': 'off',
179182
'unicorn/prefer-spread': 'off',
183+
'unicorn/require-array-join-separator': 'off',
180184
};
181185

182186
const dangerousFixRules = {
@@ -349,8 +353,10 @@ const fixRules = {
349353
'jsx-a11y/aria-unsupported-elements': 'off',
350354
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
351355
'jsx-a11y/no-autofocus': 'off',
356+
'jsx-a11y/no-redundant-roles': 'off',
352357
'promise/no-new-statics': 'off',
353358
'react/jsx-boolean-value': 'off',
359+
'react/jsx-props-no-spread-multi': 'off',
354360
'@typescript-eslint/array-type': 'off',
355361
'@typescript-eslint/ban-tslint-comment': 'off',
356362
'@typescript-eslint/consistent-type-definitions': 'off',
@@ -365,23 +371,27 @@ const fixRules = {
365371
'unicorn/no-hex-escape': 'off',
366372
'unicorn/no-instanceof-array': 'off',
367373
'unicorn/no-length-as-slice-end': 'off',
368-
'unicorn/no-null': 'off',
369374
'unicorn/no-useless-promise-resolve-reject': 'off',
370375
'unicorn/no-useless-undefined': 'off',
371376
'unicorn/no-zero-fractions': 'off',
372377
'unicorn/number-literal-case': 'off',
373378
'unicorn/numeric-separators-style': 'off',
374379
'unicorn/prefer-array-flat-map': 'off',
380+
'unicorn/prefer-array-some': 'off',
375381
'unicorn/prefer-code-point': 'off',
376382
'unicorn/prefer-dom-node-append': 'off',
377383
'unicorn/prefer-node-protocol': 'off',
378384
'unicorn/prefer-optional-catch-binding': 'off',
379385
'unicorn/prefer-prototype-methods': 'off',
386+
'unicorn/prefer-regexp-test': 'off',
387+
'unicorn/prefer-set-size': 'off',
380388
'unicorn/prefer-string-replace-all': 'off',
389+
'unicorn/prefer-string-slice': 'off',
381390
'unicorn/prefer-string-starts-ends-with': 'off',
382391
'unicorn/prefer-string-trim-start-end': 'off',
383392
'unicorn/require-number-to-fixed-digits-argument': 'off',
384393
'unicorn/switch-case-braces': 'off',
394+
'unicorn/text-encoding-identifier-case': 'off',
385395
'vitest/no-import-node-test': 'off',
386396
'vitest/prefer-to-be-falsy': 'off',
387397
'vitest/prefer-to-be-truthy': 'off',
@@ -392,22 +402,14 @@ const pendingRules = {
392402
'no-extra-boolean-cast': 'off',
393403
'no-fallthrough': 'off',
394404
'no-var': 'off',
395-
'jsx-a11y/no-redundant-roles': 'off',
396405
'jsx-a11y/scope': 'off',
397406
'jsx-a11y/tabindex-no-positive': 'off',
398-
'react/jsx-props-no-spread-multi': 'off',
399407
'unicorn/consistent-function-scoping': 'off',
400-
'unicorn/prefer-array-flat': 'off',
401-
'unicorn/prefer-array-some': 'off',
402408
'unicorn/prefer-date-now': 'off',
403409
'unicorn/prefer-modern-math-apis': 'off',
404410
'unicorn/prefer-native-coercion-functions': 'off',
405-
'unicorn/prefer-regexp-test': 'off',
406-
'unicorn/prefer-set-size': 'off',
407-
'unicorn/prefer-string-slice': 'off',
411+
'unicorn/prefer-structured-clone': 'off',
408412
'unicorn/prefer-type-error': 'off',
409-
'unicorn/require-array-join-separator': 'off',
410-
'unicorn/text-encoding-identifier-case': 'off',
411413
'unicorn/throw-new-error': 'off',
412414
};
413415

src/rules-by-scope.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ const unicornRules = {
414414
'unicorn/prefer-string-slice': 'off',
415415
'unicorn/prefer-string-starts-ends-with': 'off',
416416
'unicorn/prefer-string-trim-start-end': 'off',
417+
'unicorn/prefer-structured-clone': 'off',
417418
'unicorn/prefer-type-error': 'off',
418419
'unicorn/require-array-join-separator': 'off',
419420
'unicorn/require-number-to-fixed-digits-argument': 'off',
@@ -425,6 +426,7 @@ const unicornRules = {
425426
const vitestRules = {
426427
'vitest/no-conditional-tests': 'off',
427428
'vitest/no-import-node-test': 'off',
429+
'vitest/prefer-each': 'off',
428430
'vitest/prefer-to-be-falsy': 'off',
429431
'vitest/prefer-to-be-truthy': 'off',
430432
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',

0 commit comments

Comments
 (0)