Skip to content

Commit

Permalink
release: v0.9.2 (#151)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
oxc-bot and Boshen authored Sep 2, 2024
1 parent 503f4fb commit 39109a1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 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.1",
"version": "0.9.2",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"packageManager": "pnpm@9.9.0",
Expand Down
27 changes: 16 additions & 11 deletions src/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const conditionalFixRules = {
'valid-typeof': 'off',
'jest/no-jasmine-globals': 'off',
'jest/no-untyped-mock-factory': 'off',
'jest/prefer-jest-mocked': 'off',
'jest/prefer-mock-promise-shorthand': 'off',
'jsx-a11y/aria-props': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
Expand Down Expand Up @@ -259,6 +260,7 @@ const correctnessRules = {
'jsx-a11y/html-has-lang': 'off',
'jsx-a11y/iframe-has-title': 'off',
'jsx-a11y/img-redundant-alt': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/lang': 'off',
'jsx-a11y/media-has-caption': 'off',
'jsx-a11y/mouse-events-have-key-events': 'off',
Expand Down Expand Up @@ -335,6 +337,7 @@ const fixRules = {
'no-unused-labels': 'off',
'no-useless-constructor': 'off',
'no-useless-escape': 'off',
'no-var': 'off',
'unicode-bom': 'off',
'jest/consistent-test-it': 'off',
'jest/no-alias-methods': 'off',
Expand All @@ -343,7 +346,6 @@ const fixRules = {
'jest/no-test-prefixes': 'off',
'jest/prefer-comparison-matcher': 'off',
'jest/prefer-expect-resolves': 'off',
'jest/prefer-jest-mocked': 'off',
'jest/prefer-lowercase-title': 'off',
'jest/prefer-spy-on': 'off',
'jest/prefer-strict-equal': 'off',
Expand All @@ -354,6 +356,7 @@ const fixRules = {
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/scope': 'off',
'promise/no-new-statics': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-props-no-spread-multi': 'off',
Expand All @@ -379,6 +382,7 @@ const fixRules = {
'unicorn/prefer-array-flat-map': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-code-point': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-dom-node-append': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
Expand All @@ -392,29 +396,29 @@ const fixRules = {
'unicorn/require-number-to-fixed-digits-argument': 'off',
'unicorn/switch-case-braces': 'off',
'unicorn/text-encoding-identifier-case': 'off',
'unicorn/throw-new-error': 'off',
'vitest/no-import-node-test': 'off',
'vitest/prefer-to-be-falsy': 'off',
'vitest/prefer-to-be-truthy': 'off',
};

const pendingRules = {
const suggestionRules = {
'no-empty': 'off',
};

const fixDangerousRules = {
'no-eq-null': 'off',
};

const pendingRules = {
'no-extra-boolean-cast': 'off',
'no-fallthrough': 'off',
'no-var': 'off',
'jsx-a11y/scope': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-modern-math-apis': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-structured-clone': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/throw-new-error': 'off',
};

const fixDangerousRules = {
'no-eq-null': 'off',
};

const suspiciousRules = {
Expand Down Expand Up @@ -453,8 +457,9 @@ export {
perfRules,
conditionalSuggestionFixRules,
fixRules,
pendingRules,
suggestionRules,
fixDangerousRules,
pendingRules,
suspiciousRules,
dangerousSuggestionRules,
conditionalSuggestionRules,
Expand Down
1 change: 1 addition & 0 deletions src/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ const jsxA11yRules = {
'jsx-a11y/html-has-lang': 'off',
'jsx-a11y/iframe-has-title': 'off',
'jsx-a11y/img-redundant-alt': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/lang': 'off',
'jsx-a11y/media-has-caption': 'off',
'jsx-a11y/mouse-events-have-key-events': 'off',
Expand Down

0 comments on commit 39109a1

Please sign in to comment.