Skip to content

Commit

Permalink
release: v0.8.0 (#144)
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 <[email protected]>
  • Loading branch information
github-actions[bot] and Boshen authored Aug 23, 2024
1 parent 0d34fd0 commit a24b58c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 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.7.2",
"version": "0.8.0",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"packageManager": "[email protected]",
Expand Down
19 changes: 12 additions & 7 deletions src/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ const styleRules = {
'unicorn/filename-case': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-unreadable-array-destructuring': 'off',
'unicorn/prefer-array-flat-map': 'off',
'unicorn/prefer-includes': 'off',
'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-modern-dom-apis': 'off',
Expand Down Expand Up @@ -246,11 +245,9 @@ const correctnessRules = {
'jsdoc/require-property-type': 'off',
'jsdoc/require-yields': 'off',
'jsx-a11y/alt-text': 'off',
'jsx-a11y/anchor-has-content': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
'jsx-a11y/aria-role': 'off',
'jsx-a11y/aria-unsupported-elements': 'off',
'jsx-a11y/autocomplete-valid': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/heading-has-content': 'off',
Expand All @@ -262,12 +259,9 @@ const correctnessRules = {
'jsx-a11y/mouse-events-have-key-events': 'off',
'jsx-a11y/no-access-key': 'off',
'jsx-a11y/no-distracting-elements': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/prefer-tag-over-role': 'off',
'jsx-a11y/role-has-required-aria-props': 'off',
'jsx-a11y/role-supports-aria-props': 'off',
'jsx-a11y/scope': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'nextjs/google-font-display': 'off',
'nextjs/google-font-preconnect': 'off',
'nextjs/inline-script-id': 'off',
Expand Down Expand Up @@ -349,6 +343,7 @@ const fixRules = {
'jest/prefer-to-be': 'off',
'jest/prefer-to-have-length': 'off',
'jest/prefer-todo': 'off',
'jsx-a11y/aria-unsupported-elements': 'off',
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'promise/no-new-statics': 'off',
Expand All @@ -372,9 +367,11 @@ const fixRules = {
'unicorn/no-zero-fractions': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-flat-map': '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-string-replace-all': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
Expand All @@ -391,12 +388,15 @@ 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/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-optional-catch-binding': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-string-slice': 'off',
Expand Down Expand Up @@ -430,6 +430,10 @@ const dangerousSuggestionRules = {
'no-unused-vars': 'off',
};

const conditionalSuggestionRules = {
'jsx-a11y/anchor-has-content': 'off',
};

export {
pedanticRules,
nurseryRules,
Expand All @@ -446,4 +450,5 @@ export {
fixDangerousRules,
suspiciousRules,
dangerousSuggestionRules,
conditionalSuggestionRules,
};
1 change: 1 addition & 0 deletions src/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ const reactRules = {
'react/jsx-no-target-blank': 'off',
'react/jsx-no-undef': 'off',
'react/jsx-no-useless-fragment': 'off',
'react/jsx-props-no-spread-multi': 'off',
'react/no-children-prop': 'off',
'react/no-danger': 'off',
'react/no-direct-mutation-state': 'off',
Expand Down

0 comments on commit a24b58c

Please sign in to comment.