Skip to content

Commit

Permalink
release: v0.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Aug 29, 2024
1 parent c7c9498 commit 63c73be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.9.0",
"version": "0.9.1",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"packageManager": "[email protected]",
Expand Down
22 changes: 12 additions & 10 deletions src/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const styleRules = {
'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-modern-dom-apis': 'off',
'unicorn/prefer-reflect-apply': 'off',
'vitest/prefer-each': 'off',
};

const conditionalFixRules = {
Expand All @@ -170,13 +171,16 @@ const conditionalFixRules = {
'@typescript-eslint/prefer-function-type': 'off',
'unicorn/explicit-length-check': 'off',
'unicorn/no-nested-ternary': 'off',
'unicorn/no-null': 'off',
'unicorn/no-single-promise-in-promise-methods': 'off',
'unicorn/no-unnecessary-await': 'off',
'unicorn/no-useless-fallback-in-spread': 'off',
'unicorn/no-useless-spread': 'off',
'unicorn/prefer-array-flat': 'off',
'unicorn/prefer-dom-node-text-content': 'off',
'unicorn/prefer-query-selector': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/require-array-join-separator': 'off',
};

const dangerousFixRules = {
Expand Down Expand Up @@ -349,8 +353,10 @@ const fixRules = {
'jsx-a11y/aria-unsupported-elements': 'off',
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'promise/no-new-statics': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-props-no-spread-multi': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/ban-tslint-comment': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
Expand All @@ -365,23 +371,27 @@ const fixRules = {
'unicorn/no-hex-escape': 'off',
'unicorn/no-instanceof-array': 'off',
'unicorn/no-length-as-slice-end': 'off',
'unicorn/no-null': 'off',
'unicorn/no-useless-promise-resolve-reject': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/no-zero-fractions': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-flat-map': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-code-point': 'off',
'unicorn/prefer-dom-node-append': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-prototype-methods': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/require-number-to-fixed-digits-argument': 'off',
'unicorn/switch-case-braces': 'off',
'unicorn/text-encoding-identifier-case': 'off',
'vitest/no-import-node-test': 'off',
'vitest/prefer-to-be-falsy': 'off',
'vitest/prefer-to-be-truthy': 'off',
Expand All @@ -392,22 +402,14 @@ const pendingRules = {
'no-extra-boolean-cast': 'off',
'no-fallthrough': 'off',
'no-var': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/scope': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'react/jsx-props-no-spread-multi': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/prefer-array-flat': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-modern-math-apis': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-structured-clone': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/require-array-join-separator': 'off',
'unicorn/text-encoding-identifier-case': 'off',
'unicorn/throw-new-error': 'off',
};

Expand Down
2 changes: 2 additions & 0 deletions src/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ const unicornRules = {
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/prefer-structured-clone': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/require-array-join-separator': 'off',
'unicorn/require-number-to-fixed-digits-argument': 'off',
Expand All @@ -425,6 +426,7 @@ const unicornRules = {
const vitestRules = {
'vitest/no-conditional-tests': 'off',
'vitest/no-import-node-test': 'off',
'vitest/prefer-each': 'off',
'vitest/prefer-to-be-falsy': 'off',
'vitest/prefer-to-be-truthy': 'off',
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
Expand Down

0 comments on commit 63c73be

Please sign in to comment.