oxlint-config-presets 0.1.12 → 0.1.13
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 +85 -85
- package/airbnb/base.json +16 -1
- package/airbnb/legacy.json +16 -1
- package/airbnb/whitespace.json +23 -11
- package/airbnb.json +23 -11
- package/alloy/react.json +1 -0
- package/hardcore.json +1 -0
- package/jsx-a11y/recommended.json +2 -30
- package/jsx-a11y/strict.json +1 -19
- package/package.json +1 -1
- package/react/all.json +1 -0
- package/unicorn/all.json +2 -0
- package/unicorn/recommended.json +2 -0
- package/unicorn/unopinionated.json +2 -0
- package/vue/essential.json +2 -0
- package/vue/strongly-recommended-error.json +1 -0
- package/vue/strongly-recommended.json +1 -0
- package/vue/vue2-essential.json +2 -0
- package/vue/vue2-strongly-recommended-error.json +1 -0
- package/vue/vue2-strongly-recommended.json +1 -0
- package/wikimedia.json +1 -1
- package/xo.json +2 -0
package/README.md
CHANGED
|
@@ -171,7 +171,7 @@ export default defineConfig({
|
|
|
171
171
|
- all `unicorn/all.json`
|
|
172
172
|
- unopinionated `unicorn/unopinionated.json`
|
|
173
173
|
|
|
174
|
-
Generated with `@oxlint/migrate@1.
|
|
174
|
+
Generated with `@oxlint/migrate@1.70.0`.
|
|
175
175
|
|
|
176
176
|
### `airbnb.json`
|
|
177
177
|
|
|
@@ -182,9 +182,9 @@ Generated with `@oxlint/migrate@1.69.0`.
|
|
|
182
182
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
183
183
|
|
|
184
184
|
<details>
|
|
185
|
-
<summary>
|
|
185
|
+
<summary>286 rules successfully migrated</summary>
|
|
186
186
|
|
|
187
|
-
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `react/display-name`, `react/forbid-dom-props`, `react/jsx-boolean-value`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-no-undef`, `react/jsx-pascal-case`, `react/no-danger`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-will-update-set-state`, `react/no-direct-mutation-state`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-set-state`, `react/no-string-refs`, `react/no-unknown-property`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/jsx-no-target-blank`, `react/jsx-filename-extension`, `react/jsx-no-comment-textnodes`, `react/no-render-return-value`, `react/no-find-dom-node`, `react/forbid-component-props`, `react/forbid-elements`, `react/no-danger-with-children`, `react/style-prop-object`, `react/no-unescaped-entities`, `react/no-children-prop`, `react/no-array-index-key`, `react/void-dom-elements-no-children`, `react/no-redundant-should-component-update`, `react/jsx-curly-brace-presence`, `react/button-has-type`, `react/no-this-in-sfc`, `react/jsx-max-depth`, `react/no-unsafe`, `react/jsx-fragments`, `react/state-in-constructor`, `react/jsx-props-no-spreading`, `react/jsx-no-script-url`, `react/jsx-no-useless-fragment`, `react/jsx-no-constructed-context-values`, `react/no-unstable-nested-components`, `react/no-namespace`, `jsx-a11y/alt-text`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/control-has-associated-label`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/lang`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-
|
|
187
|
+
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `capitalized-comments`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `react/display-name`, `react/forbid-dom-props`, `react/jsx-boolean-value`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-no-literals`, `react/jsx-no-undef`, `react/jsx-pascal-case`, `react/no-danger`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-will-update-set-state`, `react/no-direct-mutation-state`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-set-state`, `react/no-string-refs`, `react/no-unknown-property`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/jsx-no-target-blank`, `react/jsx-filename-extension`, `react/jsx-no-comment-textnodes`, `react/no-render-return-value`, `react/no-find-dom-node`, `react/forbid-component-props`, `react/forbid-elements`, `react/no-danger-with-children`, `react/style-prop-object`, `react/no-unescaped-entities`, `react/no-children-prop`, `react/no-array-index-key`, `react/void-dom-elements-no-children`, `react/no-redundant-should-component-update`, `react/jsx-curly-brace-presence`, `react/button-has-type`, `react/no-this-in-sfc`, `react/jsx-max-depth`, `react/no-unsafe`, `react/jsx-fragments`, `react/state-in-constructor`, `react/jsx-props-no-spreading`, `react/jsx-no-script-url`, `react/jsx-no-useless-fragment`, `react/jsx-no-constructed-context-values`, `react/no-unstable-nested-components`, `react/no-namespace`, `jsx-a11y/alt-text`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/control-has-associated-label`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/lang`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-tabindex`, `jsx-a11y/no-redundant-roles`, `jsx-a11y/no-static-element-interactions`, `jsx-a11y/role-has-required-aria-props`, `jsx-a11y/role-supports-aria-props`, `jsx-a11y/scope`, `jsx-a11y/tabindex-no-positive`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
188
188
|
|
|
189
189
|
</details>
|
|
190
190
|
|
|
@@ -193,7 +193,7 @@ Extracted from `eslint-config-airbnb@19.0.4`.
|
|
|
193
193
|
|
|
194
194
|
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
195
195
|
|
|
196
|
-
`
|
|
196
|
+
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `jsx-a11y/no-noninteractive-element-to-interactive-role`, `react/jsx-no-duplicate-props`
|
|
197
197
|
|
|
198
198
|
</details>
|
|
199
199
|
|
|
@@ -236,18 +236,18 @@ These rules are enabled but their configuration options were dropped because oxl
|
|
|
236
236
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
237
237
|
|
|
238
238
|
<details>
|
|
239
|
-
<summary>
|
|
239
|
+
<summary>206 rules successfully migrated</summary>
|
|
240
240
|
|
|
241
|
-
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
241
|
+
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `capitalized-comments`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
242
242
|
|
|
243
243
|
</details>
|
|
244
244
|
|
|
245
245
|
<details>
|
|
246
|
-
<summary>
|
|
246
|
+
<summary>1 rules migrated without options (incompatible schema)</summary>
|
|
247
247
|
|
|
248
248
|
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
249
249
|
|
|
250
|
-
`
|
|
250
|
+
`import/no-cycle`
|
|
251
251
|
|
|
252
252
|
</details>
|
|
253
253
|
|
|
@@ -302,18 +302,9 @@ Extracted from `eslint-config-airbnb@19.0.4`.
|
|
|
302
302
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
303
303
|
|
|
304
304
|
<details>
|
|
305
|
-
<summary>
|
|
305
|
+
<summary>155 rules successfully migrated</summary>
|
|
306
306
|
|
|
307
|
-
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `prefer-numeric-literals`, `no-var`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
308
|
-
|
|
309
|
-
</details>
|
|
310
|
-
|
|
311
|
-
<details>
|
|
312
|
-
<summary>1 rules migrated without options (incompatible schema)</summary>
|
|
313
|
-
|
|
314
|
-
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
315
|
-
|
|
316
|
-
`capitalized-comments`
|
|
307
|
+
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `capitalized-comments`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `prefer-numeric-literals`, `no-var`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
317
308
|
|
|
318
309
|
</details>
|
|
319
310
|
|
|
@@ -346,9 +337,9 @@ These rules are enabled but their configuration options were dropped because oxl
|
|
|
346
337
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
347
338
|
|
|
348
339
|
<details>
|
|
349
|
-
<summary>
|
|
340
|
+
<summary>286 rules successfully migrated</summary>
|
|
350
341
|
|
|
351
|
-
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `react/display-name`, `react/forbid-dom-props`, `react/jsx-boolean-value`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-no-undef`, `react/jsx-pascal-case`, `react/no-danger`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-will-update-set-state`, `react/no-direct-mutation-state`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-set-state`, `react/no-string-refs`, `react/no-unknown-property`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/jsx-no-target-blank`, `react/jsx-filename-extension`, `react/jsx-no-comment-textnodes`, `react/no-render-return-value`, `react/no-find-dom-node`, `react/forbid-component-props`, `react/forbid-elements`, `react/no-danger-with-children`, `react/style-prop-object`, `react/no-unescaped-entities`, `react/no-children-prop`, `react/no-array-index-key`, `react/void-dom-elements-no-children`, `react/no-redundant-should-component-update`, `react/jsx-curly-brace-presence`, `react/button-has-type`, `react/no-this-in-sfc`, `react/jsx-max-depth`, `react/no-unsafe`, `react/jsx-fragments`, `react/state-in-constructor`, `react/jsx-props-no-spreading`, `react/jsx-no-script-url`, `react/jsx-no-useless-fragment`, `react/jsx-no-constructed-context-values`, `react/no-unstable-nested-components`, `react/no-namespace`, `jsx-a11y/alt-text`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/control-has-associated-label`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/lang`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-
|
|
342
|
+
`accessor-pairs`, `array-callback-return`, `block-scoped-var`, `complexity`, `class-methods-use-this`, `curly`, `default-case`, `default-case-last`, `default-param-last`, `eqeqeq`, `grouped-accessor-pairs`, `guard-for-in`, `max-classes-per-file`, `no-alert`, `no-caller`, `no-case-declarations`, `no-constructor-return`, `no-div-regex`, `no-else-return`, `no-empty-function`, `no-empty-pattern`, `no-eq-null`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-fallthrough`, `no-global-assign`, `no-implicit-coercion`, `no-implicit-globals`, `no-implied-eval`, `no-iterator`, `no-labels`, `no-lone-blocks`, `no-loop-func`, `no-magic-numbers`, `no-multi-str`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-nonoctal-decimal-escape`, `no-param-reassign`, `no-proto`, `no-redeclare`, `no-restricted-properties`, `no-return-assign`, `no-script-url`, `no-self-assign`, `no-self-compare`, `no-sequences`, `no-throw-literal`, `no-unmodified-loop-condition`, `no-unused-expressions`, `no-unused-labels`, `no-useless-call`, `no-useless-catch`, `no-useless-concat`, `no-useless-escape`, `no-useless-return`, `no-void`, `no-warning-comments`, `no-with`, `prefer-promise-reject-errors`, `prefer-named-capture-group`, `prefer-regex-literals`, `radix`, `require-await`, `require-unicode-regexp`, `vars-on-top`, `yoda`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-await-in-loop`, `no-compare-neg-zero`, `no-cond-assign`, `no-console`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-ex-assign`, `no-extra-boolean-cast`, `no-func-assign`, `no-import-assign`, `no-inner-declarations`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-obj-calls`, `no-promise-executor-return`, `no-prototype-builtins`, `no-regex-spaces`, `no-setter-return`, `no-sparse-arrays`, `no-template-curly-in-string`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-private-class-members`, `no-useless-backreference`, `use-isnan`, `valid-typeof`, `capitalized-comments`, `func-name-matching`, `func-names`, `func-style`, `id-length`, `id-match`, `max-depth`, `max-lines`, `max-lines-per-function`, `max-nested-callbacks`, `max-params`, `max-statements`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-continue`, `no-inline-comments`, `no-lonely-if`, `no-multi-assign`, `no-negated-condition`, `no-nested-ternary`, `no-plusplus`, `no-ternary`, `no-underscore-dangle`, `no-unneeded-ternary`, `operator-assignment`, `prefer-exponentiation-operator`, `prefer-object-spread`, `sort-keys`, `sort-vars`, `unicode-bom`, `init-declarations`, `no-delete-var`, `no-label-var`, `no-restricted-globals`, `no-shadow`, `no-shadow-restricted-names`, `no-undef`, `no-undefined`, `no-unused-vars`, `no-use-before-define`, `arrow-body-style`, `constructor-super`, `no-class-assign`, `no-const-assign`, `no-dupe-class-members`, `no-duplicate-imports`, `no-restricted-exports`, `no-restricted-imports`, `no-this-before-super`, `no-useless-computed-key`, `no-useless-constructor`, `no-useless-rename`, `no-var`, `object-shorthand`, `prefer-arrow-callback`, `prefer-const`, `prefer-destructuring`, `prefer-numeric-literals`, `prefer-rest-params`, `prefer-spread`, `prefer-template`, `require-yield`, `symbol-description`, `import/named`, `import/default`, `import/namespace`, `import/export`, `import/no-named-as-default`, `import/no-named-as-default-member`, `import/no-mutable-exports`, `import/no-commonjs`, `import/no-amd`, `import/no-nodejs-modules`, `import/first`, `import/no-duplicates`, `import/no-namespace`, `import/extensions`, `import/newline-after-import`, `import/prefer-default-export`, `import/max-dependencies`, `import/no-absolute-path`, `import/no-dynamic-require`, `import/unambiguous`, `import/no-webpack-loader-syntax`, `import/no-unassigned-import`, `import/no-named-default`, `import/no-anonymous-default-export`, `import/exports-last`, `import/group-exports`, `import/no-default-export`, `import/no-named-export`, `import/no-self-import`, `import/no-relative-parent-imports`, `react/display-name`, `react/forbid-dom-props`, `react/jsx-boolean-value`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-no-literals`, `react/jsx-no-undef`, `react/jsx-pascal-case`, `react/no-danger`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-will-update-set-state`, `react/no-direct-mutation-state`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-set-state`, `react/no-string-refs`, `react/no-unknown-property`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/jsx-no-target-blank`, `react/jsx-filename-extension`, `react/jsx-no-comment-textnodes`, `react/no-render-return-value`, `react/no-find-dom-node`, `react/forbid-component-props`, `react/forbid-elements`, `react/no-danger-with-children`, `react/style-prop-object`, `react/no-unescaped-entities`, `react/no-children-prop`, `react/no-array-index-key`, `react/void-dom-elements-no-children`, `react/no-redundant-should-component-update`, `react/jsx-curly-brace-presence`, `react/button-has-type`, `react/no-this-in-sfc`, `react/jsx-max-depth`, `react/no-unsafe`, `react/jsx-fragments`, `react/state-in-constructor`, `react/jsx-props-no-spreading`, `react/jsx-no-script-url`, `react/jsx-no-useless-fragment`, `react/jsx-no-constructed-context-values`, `react/no-unstable-nested-components`, `react/no-namespace`, `jsx-a11y/alt-text`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/control-has-associated-label`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/lang`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-tabindex`, `jsx-a11y/no-redundant-roles`, `jsx-a11y/no-static-element-interactions`, `jsx-a11y/role-has-required-aria-props`, `jsx-a11y/role-supports-aria-props`, `jsx-a11y/scope`, `jsx-a11y/tabindex-no-positive`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
352
343
|
|
|
353
344
|
</details>
|
|
354
345
|
|
|
@@ -357,7 +348,7 @@ Extracted from `eslint-config-airbnb@19.0.4`.
|
|
|
357
348
|
|
|
358
349
|
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
359
350
|
|
|
360
|
-
`
|
|
351
|
+
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `jsx-a11y/no-noninteractive-element-to-interactive-role`, `react/jsx-no-duplicate-props`
|
|
361
352
|
|
|
362
353
|
</details>
|
|
363
354
|
|
|
@@ -633,11 +624,11 @@ Extracted from `@eslint/js@10.0.1`.
|
|
|
633
624
|
Extracted from `eslint-config-xo@0.51.0`.
|
|
634
625
|
|
|
635
626
|
<details>
|
|
636
|
-
<summary>
|
|
627
|
+
<summary>170 rules have no oxlint equivalent</summary>
|
|
637
628
|
|
|
638
629
|
**Not yet implemented in oxlint**
|
|
639
630
|
|
|
640
|
-
`unicorn/better-regex`, `unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-
|
|
631
|
+
`unicorn/better-regex`, `unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-switch`, `unicorn/prevent-abbreviations`, `import-x/no-useless-path-segments`, `import-x/no-extraneous-dependencies`, `n/no-extraneous-import`, `n/no-unpublished-bin`, `n/file-extension-in-import`, `n/no-mixed-requires`, `n/process-exit-as-throw`, `n/no-deprecated-api`, `n/prefer-global/buffer`, `n/prefer-global/console`, `n/prefer-global/process`, `n/prefer-global/text-decoder`, `n/prefer-global/text-encoder`, `n/prefer-global/url-search-params`, `n/prefer-global/url`, `n/prefer-promises/dns`, `n/prefer-promises/fs`, `no-unreachable-loop`, `one-var`, `@typescript-eslint/member-ordering`, `@typescript-eslint/naming-convention`, `@typescript-eslint/no-unused-private-class-members`, `@typescript-eslint/naming-convention`
|
|
641
632
|
|
|
642
633
|
**Not portable to oxlint**
|
|
643
634
|
|
|
@@ -705,20 +696,20 @@ Extracted from `eslint-config-hardcore@49.0.0`.
|
|
|
705
696
|
</details>
|
|
706
697
|
|
|
707
698
|
<details>
|
|
708
|
-
<summary>
|
|
699
|
+
<summary>3 rules migrated without options (incompatible schema)</summary>
|
|
709
700
|
|
|
710
701
|
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
711
702
|
|
|
712
|
-
`import/named`, `import/no-cycle`
|
|
703
|
+
`import/named`, `import/no-cycle`, `unicorn/prefer-export-from`
|
|
713
704
|
|
|
714
705
|
</details>
|
|
715
706
|
|
|
716
707
|
<details>
|
|
717
|
-
<summary>
|
|
708
|
+
<summary>359 rules have no oxlint equivalent</summary>
|
|
718
709
|
|
|
719
710
|
**Not yet implemented in oxlint**
|
|
720
711
|
|
|
721
|
-
`consistent-this`, `strict`, `require-atomic-updates`, `no-unreachable-loop`, `one-var`, `import/no-relative-packages`, `import/no-import-module-exports`, `import/no-useless-path-segments`, `import/no-unused-modules`, `import/no-extraneous-dependencies`, `unicorn/no-unused-properties`, `unicorn/consistent-destructuring`, `unicorn/prefer-switch`, `unicorn/no-unnecessary-polyfills`, `unicorn/import-index`, `unicorn/prevent-abbreviations
|
|
712
|
+
`consistent-this`, `strict`, `require-atomic-updates`, `no-unreachable-loop`, `one-var`, `import/no-relative-packages`, `import/no-import-module-exports`, `import/no-useless-path-segments`, `import/no-unused-modules`, `import/no-extraneous-dependencies`, `unicorn/no-unused-properties`, `unicorn/consistent-destructuring`, `unicorn/prefer-switch`, `unicorn/no-unnecessary-polyfills`, `unicorn/import-index`, `unicorn/prevent-abbreviations`
|
|
722
713
|
|
|
723
714
|
**Not portable to oxlint**
|
|
724
715
|
|
|
@@ -753,18 +744,9 @@ These rules are enabled but their configuration options were dropped because oxl
|
|
|
753
744
|
Extracted from `eslint-config-wikimedia@0.32.4`.
|
|
754
745
|
|
|
755
746
|
<details>
|
|
756
|
-
<summary>
|
|
747
|
+
<summary>126 rules successfully migrated</summary>
|
|
757
748
|
|
|
758
|
-
`constructor-super`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-case-declarations`, `no-class-assign`, `no-compare-neg-zero`, `no-cond-assign`, `no-const-assign`, `no-constant-binary-expression`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-delete-var`, `no-dupe-class-members`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-empty-pattern`, `no-empty-static-block`, `no-ex-assign`, `no-extra-boolean-cast`, `no-fallthrough`, `no-func-assign`, `no-global-assign`, `no-import-assign`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-new-native-nonconstructor`, `no-nonoctal-decimal-escape`, `no-obj-calls`, `no-prototype-builtins`, `no-redeclare`, `no-regex-spaces`, `no-self-assign`, `no-setter-return`, `no-shadow-restricted-names`, `no-sparse-arrays`, `no-this-before-super`, `no-unassigned-vars`, `no-undef`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-labels`, `no-unused-private-class-members`, `no-unused-vars`, `no-useless-assignment`, `no-useless-backreference`, `no-useless-catch`, `no-useless-escape`, `no-with`, `preserve-caught-error`, `require-yield`, `use-isnan`, `valid-typeof`, `jsdoc/check-access`, `jsdoc/check-property-names`, `jsdoc/check-tag-names`, `jsdoc/empty-tags`, `jsdoc/implements-on-classes`, `jsdoc/no-defaults`, `jsdoc/require-param`, `jsdoc/require-param-description`, `jsdoc/require-param-name`, `jsdoc/require-param-type`, `jsdoc/require-property`, `jsdoc/require-property-description`, `jsdoc/require-property-name`, `jsdoc/require-property-type`, `jsdoc/require-returns`, `jsdoc/require-returns-description`, `jsdoc/require-returns-type`, `jsdoc/require-throws-description`, `jsdoc/require-throws-type`, `jsdoc/require-yields`, `jsdoc/require-yields-description`, `jsdoc/require-yields-type`, `array-callback-return`, `block-scoped-var`, `curly`, `eqeqeq`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-caller`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-implicit-coercion`, `no-implicit-globals`, `no-label-var`, `no-loop-func`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-proto`, `no-return-assign`, `no-script-url`, `no-self-compare`, `no-sequences`, `no-shadow`, `no-throw-literal`, `no-underscore-dangle`, `no-unmodified-loop-condition`, `no-unneeded-ternary`, `no-unused-expressions`, `no-useless-call`, `no-useless-concat`, `no-void`, `prefer-numeric-literals`, `prefer-regex-literals`, `unicode-bom`, `yoda`, `unicorn/prefer-date-now`, `unicorn/prefer-string-slice`, `unicorn/throw-new-error`, `typescript/dot-notation`
|
|
759
|
-
|
|
760
|
-
</details>
|
|
761
|
-
|
|
762
|
-
<details>
|
|
763
|
-
<summary>1 rules migrated without options (incompatible schema)</summary>
|
|
764
|
-
|
|
765
|
-
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
766
|
-
|
|
767
|
-
`no-use-before-define`
|
|
749
|
+
`constructor-super`, `for-direction`, `getter-return`, `no-async-promise-executor`, `no-case-declarations`, `no-class-assign`, `no-compare-neg-zero`, `no-cond-assign`, `no-const-assign`, `no-constant-binary-expression`, `no-constant-condition`, `no-control-regex`, `no-debugger`, `no-delete-var`, `no-dupe-class-members`, `no-dupe-else-if`, `no-dupe-keys`, `no-duplicate-case`, `no-empty`, `no-empty-character-class`, `no-empty-pattern`, `no-empty-static-block`, `no-ex-assign`, `no-extra-boolean-cast`, `no-fallthrough`, `no-func-assign`, `no-global-assign`, `no-import-assign`, `no-invalid-regexp`, `no-irregular-whitespace`, `no-loss-of-precision`, `no-misleading-character-class`, `no-new-native-nonconstructor`, `no-nonoctal-decimal-escape`, `no-obj-calls`, `no-prototype-builtins`, `no-redeclare`, `no-regex-spaces`, `no-self-assign`, `no-setter-return`, `no-shadow-restricted-names`, `no-sparse-arrays`, `no-this-before-super`, `no-unassigned-vars`, `no-undef`, `no-unexpected-multiline`, `no-unreachable`, `no-unsafe-finally`, `no-unsafe-negation`, `no-unsafe-optional-chaining`, `no-unused-labels`, `no-unused-private-class-members`, `no-unused-vars`, `no-useless-assignment`, `no-useless-backreference`, `no-useless-catch`, `no-useless-escape`, `no-with`, `preserve-caught-error`, `require-yield`, `use-isnan`, `valid-typeof`, `jsdoc/check-access`, `jsdoc/check-property-names`, `jsdoc/check-tag-names`, `jsdoc/empty-tags`, `jsdoc/implements-on-classes`, `jsdoc/no-defaults`, `jsdoc/require-param`, `jsdoc/require-param-description`, `jsdoc/require-param-name`, `jsdoc/require-param-type`, `jsdoc/require-property`, `jsdoc/require-property-description`, `jsdoc/require-property-name`, `jsdoc/require-property-type`, `jsdoc/require-returns`, `jsdoc/require-returns-description`, `jsdoc/require-returns-type`, `jsdoc/require-throws-description`, `jsdoc/require-throws-type`, `jsdoc/require-yields`, `jsdoc/require-yields-description`, `jsdoc/require-yields-type`, `array-callback-return`, `block-scoped-var`, `curly`, `eqeqeq`, `new-cap`, `no-array-constructor`, `no-bitwise`, `no-caller`, `no-eval`, `no-extend-native`, `no-extra-bind`, `no-extra-label`, `no-implicit-coercion`, `no-implicit-globals`, `no-label-var`, `no-loop-func`, `no-new`, `no-new-func`, `no-new-wrappers`, `no-proto`, `no-return-assign`, `no-script-url`, `no-self-compare`, `no-sequences`, `no-shadow`, `no-throw-literal`, `no-underscore-dangle`, `no-unmodified-loop-condition`, `no-unneeded-ternary`, `no-unused-expressions`, `no-use-before-define`, `no-useless-call`, `no-useless-concat`, `no-void`, `prefer-numeric-literals`, `prefer-regex-literals`, `unicode-bom`, `yoda`, `unicorn/prefer-date-now`, `unicorn/prefer-string-slice`, `unicorn/throw-new-error`, `typescript/dot-notation`
|
|
768
750
|
|
|
769
751
|
</details>
|
|
770
752
|
|
|
@@ -905,9 +887,9 @@ Extracted from `eslint-config-alloy@5.1.2`.
|
|
|
905
887
|
Extracted from `eslint-config-alloy@5.1.2`.
|
|
906
888
|
|
|
907
889
|
<details>
|
|
908
|
-
<summary>
|
|
890
|
+
<summary>53 rules successfully migrated</summary>
|
|
909
891
|
|
|
910
|
-
`react/button-has-type`, `react/display-name`, `react/forbid-component-props`, `react/forbid-dom-props`, `react/forbid-elements`, `react/hook-use-state`, `react/iframe-missing-sandbox`, `react/jsx-boolean-value`, `react/jsx-curly-brace-presence`, `react/jsx-filename-extension`, `react/jsx-fragments`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-max-depth`, `react/jsx-no-comment-textnodes`, `react/jsx-no-constructed-context-values`, `react/jsx-no-duplicate-props`, `react/jsx-no-script-url`, `react/jsx-no-target-blank`, `react/jsx-no-undef`, `react/jsx-no-useless-fragment`, `react/jsx-pascal-case`, `react/jsx-props-no-spreading`, `react/no-array-index-key`, `react/no-children-prop`, `react/no-danger`, `react/no-danger-with-children`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-direct-mutation-state`, `react/no-find-dom-node`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-namespace`, `react/no-object-type-as-default-prop`, `react/no-redundant-should-component-update`, `react/no-render-return-value`, `react/no-set-state`, `react/no-string-refs`, `react/no-this-in-sfc`, `react/no-unescaped-entities`, `react/no-unknown-property`, `react/no-unsafe`, `react/no-unstable-nested-components`, `react/no-will-update-set-state`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/state-in-constructor`, `react/style-prop-object`, `react/void-dom-elements-no-children`
|
|
892
|
+
`react/button-has-type`, `react/display-name`, `react/forbid-component-props`, `react/forbid-dom-props`, `react/forbid-elements`, `react/hook-use-state`, `react/iframe-missing-sandbox`, `react/jsx-boolean-value`, `react/jsx-curly-brace-presence`, `react/jsx-filename-extension`, `react/jsx-fragments`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-max-depth`, `react/jsx-no-comment-textnodes`, `react/jsx-no-constructed-context-values`, `react/jsx-no-duplicate-props`, `react/jsx-no-literals`, `react/jsx-no-script-url`, `react/jsx-no-target-blank`, `react/jsx-no-undef`, `react/jsx-no-useless-fragment`, `react/jsx-pascal-case`, `react/jsx-props-no-spreading`, `react/no-array-index-key`, `react/no-children-prop`, `react/no-danger`, `react/no-danger-with-children`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-direct-mutation-state`, `react/no-find-dom-node`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-namespace`, `react/no-object-type-as-default-prop`, `react/no-redundant-should-component-update`, `react/no-render-return-value`, `react/no-set-state`, `react/no-string-refs`, `react/no-this-in-sfc`, `react/no-unescaped-entities`, `react/no-unknown-property`, `react/no-unsafe`, `react/no-unstable-nested-components`, `react/no-will-update-set-state`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/state-in-constructor`, `react/style-prop-object`, `react/void-dom-elements-no-children`
|
|
911
893
|
|
|
912
894
|
</details>
|
|
913
895
|
|
|
@@ -1297,18 +1279,18 @@ Extracted from `eslint-plugin-react@7.37.5`.
|
|
|
1297
1279
|
Extracted from `eslint-plugin-react@7.37.5`.
|
|
1298
1280
|
|
|
1299
1281
|
<details>
|
|
1300
|
-
<summary>
|
|
1282
|
+
<summary>56 rules successfully migrated</summary>
|
|
1301
1283
|
|
|
1302
|
-
`react/button-has-type`, `react/checked-requires-onchange-or-readonly`, `react/display-name`, `react/forbid-component-props`, `react/forbid-dom-props`, `react/forbid-elements`, `react/forward-ref-uses-ref`, `react/hook-use-state`, `react/iframe-missing-sandbox`, `react/jsx-boolean-value`, `react/jsx-filename-extension`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-max-depth`, `react/jsx-no-comment-textnodes`, `react/jsx-no-constructed-context-values`, `react/jsx-no-duplicate-props`, `react/jsx-no-script-url`, `react/jsx-no-target-blank`, `react/jsx-no-useless-fragment`, `react/jsx-no-undef`, `react/jsx-curly-brace-presence`, `react/jsx-pascal-case`, `react/jsx-fragments`, `react/jsx-props-no-spreading`, `react/jsx-props-no-spread-multi`, `react/no-array-index-key`, `react/no-children-prop`, `react/no-danger`, `react/no-danger-with-children`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-direct-mutation-state`, `react/no-find-dom-node`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-namespace`, `react/no-set-state`, `react/no-string-refs`, `react/no-redundant-should-component-update`, `react/no-render-return-value`, `react/no-this-in-sfc`, `react/no-unescaped-entities`, `react/no-unknown-property`, `react/no-unsafe`, `react/no-unstable-nested-components`, `react/no-object-type-as-default-prop`, `react/no-will-update-set-state`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/state-in-constructor`, `react/style-prop-object`, `react/void-dom-elements-no-children`
|
|
1284
|
+
`react/button-has-type`, `react/checked-requires-onchange-or-readonly`, `react/display-name`, `react/forbid-component-props`, `react/forbid-dom-props`, `react/forbid-elements`, `react/forward-ref-uses-ref`, `react/hook-use-state`, `react/iframe-missing-sandbox`, `react/jsx-boolean-value`, `react/jsx-filename-extension`, `react/jsx-handler-names`, `react/jsx-key`, `react/jsx-max-depth`, `react/jsx-no-comment-textnodes`, `react/jsx-no-constructed-context-values`, `react/jsx-no-duplicate-props`, `react/jsx-no-literals`, `react/jsx-no-script-url`, `react/jsx-no-target-blank`, `react/jsx-no-useless-fragment`, `react/jsx-no-undef`, `react/jsx-curly-brace-presence`, `react/jsx-pascal-case`, `react/jsx-fragments`, `react/jsx-props-no-spreading`, `react/jsx-props-no-spread-multi`, `react/no-array-index-key`, `react/no-children-prop`, `react/no-danger`, `react/no-danger-with-children`, `react/no-did-mount-set-state`, `react/no-did-update-set-state`, `react/no-direct-mutation-state`, `react/no-find-dom-node`, `react/no-is-mounted`, `react/no-multi-comp`, `react/no-namespace`, `react/no-set-state`, `react/no-string-refs`, `react/no-redundant-should-component-update`, `react/no-render-return-value`, `react/no-this-in-sfc`, `react/no-unescaped-entities`, `react/no-unknown-property`, `react/no-unsafe`, `react/no-unstable-nested-components`, `react/no-object-type-as-default-prop`, `react/no-will-update-set-state`, `react/prefer-es6-class`, `react/react-in-jsx-scope`, `react/require-render-return`, `react/self-closing-comp`, `react/state-in-constructor`, `react/style-prop-object`, `react/void-dom-elements-no-children`
|
|
1303
1285
|
|
|
1304
1286
|
</details>
|
|
1305
1287
|
|
|
1306
1288
|
<details>
|
|
1307
|
-
<summary>
|
|
1289
|
+
<summary>45 rules have no oxlint equivalent</summary>
|
|
1308
1290
|
|
|
1309
1291
|
**Not yet implemented in oxlint**
|
|
1310
1292
|
|
|
1311
|
-
`react/boolean-prop-naming`, `react/destructuring-assignment`, `react/function-component-definition`, `react/jsx-no-bind`, `react/jsx-no-leaked-render`, `react/
|
|
1293
|
+
`react/boolean-prop-naming`, `react/destructuring-assignment`, `react/function-component-definition`, `react/jsx-no-bind`, `react/jsx-no-leaked-render`, `react/no-invalid-html-attribute`, `react/no-arrow-function-lifecycle`, `react/no-typos`
|
|
1312
1294
|
|
|
1313
1295
|
**Not portable to oxlint**
|
|
1314
1296
|
|
|
@@ -1697,9 +1679,18 @@ Extracted from `eslint-plugin-jsdoc@62.9.0`.
|
|
|
1697
1679
|
Extracted from `eslint-plugin-jsx-a11y@6.10.2`.
|
|
1698
1680
|
|
|
1699
1681
|
<details>
|
|
1700
|
-
<summary>
|
|
1682
|
+
<summary>31 rules successfully migrated</summary>
|
|
1701
1683
|
|
|
1702
|
-
`jsx-a11y/alt-text`, `jsx-a11y/anchor-ambiguous-text`, `jsx-a11y/anchor-has-content`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/
|
|
1684
|
+
`jsx-a11y/alt-text`, `jsx-a11y/anchor-ambiguous-text`, `jsx-a11y/anchor-has-content`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-tabindex`, `jsx-a11y/no-redundant-roles`, `jsx-a11y/no-static-element-interactions`, `jsx-a11y/role-has-required-aria-props`, `jsx-a11y/role-supports-aria-props`, `jsx-a11y/scope`, `jsx-a11y/tabindex-no-positive`
|
|
1685
|
+
|
|
1686
|
+
</details>
|
|
1687
|
+
|
|
1688
|
+
<details>
|
|
1689
|
+
<summary>2 rules migrated without options (incompatible schema)</summary>
|
|
1690
|
+
|
|
1691
|
+
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
1692
|
+
|
|
1693
|
+
`jsx-a11y/control-has-associated-label`, `jsx-a11y/no-noninteractive-element-to-interactive-role`
|
|
1703
1694
|
|
|
1704
1695
|
</details>
|
|
1705
1696
|
|
|
@@ -1712,9 +1703,18 @@ Extracted from `eslint-plugin-jsx-a11y@6.10.2`.
|
|
|
1712
1703
|
Extracted from `eslint-plugin-jsx-a11y@6.10.2`.
|
|
1713
1704
|
|
|
1714
1705
|
<details>
|
|
1715
|
-
<summary>
|
|
1706
|
+
<summary>31 rules successfully migrated</summary>
|
|
1707
|
+
|
|
1708
|
+
`jsx-a11y/alt-text`, `jsx-a11y/anchor-has-content`, `jsx-a11y/anchor-is-valid`, `jsx-a11y/aria-activedescendant-has-tabindex`, `jsx-a11y/aria-props`, `jsx-a11y/aria-proptypes`, `jsx-a11y/aria-role`, `jsx-a11y/aria-unsupported-elements`, `jsx-a11y/autocomplete-valid`, `jsx-a11y/click-events-have-key-events`, `jsx-a11y/heading-has-content`, `jsx-a11y/html-has-lang`, `jsx-a11y/iframe-has-title`, `jsx-a11y/img-redundant-alt`, `jsx-a11y/interactive-supports-focus`, `jsx-a11y/label-has-associated-control`, `jsx-a11y/media-has-caption`, `jsx-a11y/mouse-events-have-key-events`, `jsx-a11y/no-access-key`, `jsx-a11y/no-autofocus`, `jsx-a11y/no-distracting-elements`, `jsx-a11y/no-interactive-element-to-noninteractive-role`, `jsx-a11y/no-noninteractive-element-interactions`, `jsx-a11y/no-noninteractive-element-to-interactive-role`, `jsx-a11y/no-noninteractive-tabindex`, `jsx-a11y/no-redundant-roles`, `jsx-a11y/no-static-element-interactions`, `jsx-a11y/role-has-required-aria-props`, `jsx-a11y/role-supports-aria-props`, `jsx-a11y/scope`, `jsx-a11y/tabindex-no-positive`
|
|
1709
|
+
|
|
1710
|
+
</details>
|
|
1711
|
+
|
|
1712
|
+
<details>
|
|
1713
|
+
<summary>1 rules migrated without options (incompatible schema)</summary>
|
|
1716
1714
|
|
|
1717
|
-
|
|
1715
|
+
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
|
|
1716
|
+
|
|
1717
|
+
`jsx-a11y/control-has-associated-label`
|
|
1718
1718
|
|
|
1719
1719
|
</details>
|
|
1720
1720
|
|
|
@@ -1971,18 +1971,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
1971
1971
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
1972
1972
|
|
|
1973
1973
|
<details>
|
|
1974
|
-
<summary>
|
|
1974
|
+
<summary>29 rules successfully migrated</summary>
|
|
1975
1975
|
|
|
1976
|
-
`vue/no-arrow-functions-in-watch`, `vue/no-computed-properties-in-data`, `vue/no-deprecated-data-object-declaration`, `vue/no-deprecated-delete-set`, `vue/no-deprecated-destroyed-lifecycle`, `vue/no-deprecated-events-api`, `vue/no-deprecated-model-definition`, `vue/no-deprecated-props-default-this`, `vue/no-deprecated-vue-config-keycodes`, `vue/no-export-in-script-setup`, `vue/no-expose-after-await`, `vue/no-lifecycle-after-await`, `vue/no-reserved-component-names`, `vue/no-reserved-keys`, `vue/no-reserved-props`, `vue/no-shared-component-data`, `vue/no-watch-after-await`, `vue/prefer-import-from-vue`, `vue/require-prop-type-constructor`, `vue/require-render-return`, `vue/require-slots-as-functions`, `vue/return-in-computed-property`, `vue/return-in-emits-validator`, `vue/valid-define-emits`, `vue/valid-define-options`, `vue/valid-define-props`, `vue/valid-next-tick`
|
|
1976
|
+
`vue/no-arrow-functions-in-watch`, `vue/no-computed-properties-in-data`, `vue/no-deprecated-data-object-declaration`, `vue/no-deprecated-delete-set`, `vue/no-deprecated-destroyed-lifecycle`, `vue/no-deprecated-events-api`, `vue/no-deprecated-model-definition`, `vue/no-deprecated-props-default-this`, `vue/no-deprecated-vue-config-keycodes`, `vue/no-dupe-keys`, `vue/no-export-in-script-setup`, `vue/no-expose-after-await`, `vue/no-lifecycle-after-await`, `vue/no-reserved-component-names`, `vue/no-reserved-keys`, `vue/no-reserved-props`, `vue/no-shared-component-data`, `vue/no-side-effects-in-computed-properties`, `vue/no-watch-after-await`, `vue/prefer-import-from-vue`, `vue/require-prop-type-constructor`, `vue/require-render-return`, `vue/require-slots-as-functions`, `vue/return-in-computed-property`, `vue/return-in-emits-validator`, `vue/valid-define-emits`, `vue/valid-define-options`, `vue/valid-define-props`, `vue/valid-next-tick`
|
|
1977
1977
|
|
|
1978
1978
|
</details>
|
|
1979
1979
|
|
|
1980
1980
|
<details>
|
|
1981
|
-
<summary>
|
|
1981
|
+
<summary>54 rules have no oxlint equivalent</summary>
|
|
1982
1982
|
|
|
1983
1983
|
**Not yet implemented in oxlint**
|
|
1984
1984
|
|
|
1985
|
-
`vue/multi-word-component-names`, `vue/no-async-in-computed-properties`, `vue/no-deprecated-dollar-listeners-api`, `vue/no-deprecated-dollar-scopedslots-api`, `vue/no-
|
|
1985
|
+
`vue/multi-word-component-names`, `vue/no-async-in-computed-properties`, `vue/no-deprecated-dollar-listeners-api`, `vue/no-deprecated-dollar-scopedslots-api`, `vue/no-mutating-props`, `vue/no-ref-as-operand`, `vue/no-use-computed-property-like-method`, `vue/require-valid-default-prop`
|
|
1986
1986
|
|
|
1987
1987
|
**Not portable to oxlint**
|
|
1988
1988
|
|
|
@@ -1999,18 +1999,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
1999
1999
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
2000
2000
|
|
|
2001
2001
|
<details>
|
|
2002
|
-
<summary>
|
|
2002
|
+
<summary>4 rules successfully migrated</summary>
|
|
2003
2003
|
|
|
2004
|
-
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-prop-types`
|
|
2004
|
+
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-default-prop`, `vue/require-prop-types`
|
|
2005
2005
|
|
|
2006
2006
|
</details>
|
|
2007
2007
|
|
|
2008
2008
|
<details>
|
|
2009
|
-
<summary>
|
|
2009
|
+
<summary>21 rules have no oxlint equivalent</summary>
|
|
2010
2010
|
|
|
2011
2011
|
**Not yet implemented in oxlint**
|
|
2012
2012
|
|
|
2013
|
-
`vue/one-component-per-file
|
|
2013
|
+
`vue/one-component-per-file`
|
|
2014
2014
|
|
|
2015
2015
|
**Not portable to oxlint**
|
|
2016
2016
|
|
|
@@ -2027,18 +2027,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
2027
2027
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
2028
2028
|
|
|
2029
2029
|
<details>
|
|
2030
|
-
<summary>
|
|
2030
|
+
<summary>4 rules successfully migrated</summary>
|
|
2031
2031
|
|
|
2032
|
-
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-prop-types`
|
|
2032
|
+
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-default-prop`, `vue/require-prop-types`
|
|
2033
2033
|
|
|
2034
2034
|
</details>
|
|
2035
2035
|
|
|
2036
2036
|
<details>
|
|
2037
|
-
<summary>
|
|
2037
|
+
<summary>21 rules have no oxlint equivalent</summary>
|
|
2038
2038
|
|
|
2039
2039
|
**Not yet implemented in oxlint**
|
|
2040
2040
|
|
|
2041
|
-
`vue/one-component-per-file
|
|
2041
|
+
`vue/one-component-per-file`
|
|
2042
2042
|
|
|
2043
2043
|
**Not portable to oxlint**
|
|
2044
2044
|
|
|
@@ -2055,18 +2055,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
2055
2055
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
2056
2056
|
|
|
2057
2057
|
<details>
|
|
2058
|
-
<summary>
|
|
2058
|
+
<summary>16 rules successfully migrated</summary>
|
|
2059
2059
|
|
|
2060
|
-
`vue/no-arrow-functions-in-watch`, `vue/no-computed-properties-in-data`, `vue/no-export-in-script-setup`, `vue/no-reserved-component-names`, `vue/no-reserved-keys`, `vue/no-reserved-props`, `vue/no-shared-component-data`, `vue/require-prop-type-constructor`, `vue/require-render-return`, `vue/return-in-computed-property`, `vue/return-in-emits-validator`, `vue/valid-define-emits`, `vue/valid-define-props`, `vue/valid-next-tick`
|
|
2060
|
+
`vue/no-arrow-functions-in-watch`, `vue/no-computed-properties-in-data`, `vue/no-dupe-keys`, `vue/no-export-in-script-setup`, `vue/no-reserved-component-names`, `vue/no-reserved-keys`, `vue/no-reserved-props`, `vue/no-shared-component-data`, `vue/no-side-effects-in-computed-properties`, `vue/require-prop-type-constructor`, `vue/require-render-return`, `vue/return-in-computed-property`, `vue/return-in-emits-validator`, `vue/valid-define-emits`, `vue/valid-define-props`, `vue/valid-next-tick`
|
|
2061
2061
|
|
|
2062
2062
|
</details>
|
|
2063
2063
|
|
|
2064
2064
|
<details>
|
|
2065
|
-
<summary>
|
|
2065
|
+
<summary>42 rules have no oxlint equivalent</summary>
|
|
2066
2066
|
|
|
2067
2067
|
**Not yet implemented in oxlint**
|
|
2068
2068
|
|
|
2069
|
-
`vue/multi-word-component-names`, `vue/no-async-in-computed-properties`, `vue/no-
|
|
2069
|
+
`vue/multi-word-component-names`, `vue/no-async-in-computed-properties`, `vue/no-mutating-props`, `vue/no-ref-as-operand`, `vue/no-use-computed-property-like-method`, `vue/require-valid-default-prop`
|
|
2070
2070
|
|
|
2071
2071
|
**Not portable to oxlint**
|
|
2072
2072
|
|
|
@@ -2139,18 +2139,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
2139
2139
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
2140
2140
|
|
|
2141
2141
|
<details>
|
|
2142
|
-
<summary>
|
|
2142
|
+
<summary>4 rules successfully migrated</summary>
|
|
2143
2143
|
|
|
2144
|
-
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-prop-types`
|
|
2144
|
+
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-default-prop`, `vue/require-prop-types`
|
|
2145
2145
|
|
|
2146
2146
|
</details>
|
|
2147
2147
|
|
|
2148
2148
|
<details>
|
|
2149
|
-
<summary>
|
|
2149
|
+
<summary>19 rules have no oxlint equivalent</summary>
|
|
2150
2150
|
|
|
2151
2151
|
**Not yet implemented in oxlint**
|
|
2152
2152
|
|
|
2153
|
-
`vue/one-component-per-file
|
|
2153
|
+
`vue/one-component-per-file`
|
|
2154
2154
|
|
|
2155
2155
|
**Not portable to oxlint**
|
|
2156
2156
|
|
|
@@ -2167,18 +2167,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
2167
2167
|
Extracted from `eslint-plugin-vue@10.9.1`.
|
|
2168
2168
|
|
|
2169
2169
|
<details>
|
|
2170
|
-
<summary>
|
|
2170
|
+
<summary>4 rules successfully migrated</summary>
|
|
2171
2171
|
|
|
2172
|
-
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-prop-types`
|
|
2172
|
+
`vue/component-definition-name-casing`, `vue/prop-name-casing`, `vue/require-default-prop`, `vue/require-prop-types`
|
|
2173
2173
|
|
|
2174
2174
|
</details>
|
|
2175
2175
|
|
|
2176
2176
|
<details>
|
|
2177
|
-
<summary>
|
|
2177
|
+
<summary>19 rules have no oxlint equivalent</summary>
|
|
2178
2178
|
|
|
2179
2179
|
**Not yet implemented in oxlint**
|
|
2180
2180
|
|
|
2181
|
-
`vue/one-component-per-file
|
|
2181
|
+
`vue/one-component-per-file`
|
|
2182
2182
|
|
|
2183
2183
|
**Not portable to oxlint**
|
|
2184
2184
|
|
|
@@ -2195,18 +2195,18 @@ Extracted from `eslint-plugin-vue@10.9.1`.
|
|
|
2195
2195
|
Extracted from `eslint-plugin-unicorn@64.0.0`.
|
|
2196
2196
|
|
|
2197
2197
|
<details>
|
|
2198
|
-
<summary>
|
|
2198
|
+
<summary>133 rules successfully migrated</summary>
|
|
2199
2199
|
|
|
2200
|
-
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2200
|
+
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-export-from`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-single-call`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2201
2201
|
|
|
2202
2202
|
</details>
|
|
2203
2203
|
|
|
2204
2204
|
<details>
|
|
2205
|
-
<summary>
|
|
2205
|
+
<summary>9 rules have no oxlint equivalent</summary>
|
|
2206
2206
|
|
|
2207
2207
|
**Not yet implemented in oxlint**
|
|
2208
2208
|
|
|
2209
|
-
`unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-
|
|
2209
|
+
`unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-simple-condition-first`, `unicorn/prefer-switch`, `unicorn/prevent-abbreviations`
|
|
2210
2210
|
|
|
2211
2211
|
**Not portable to oxlint**
|
|
2212
2212
|
|
|
@@ -2223,18 +2223,18 @@ Extracted from `eslint-plugin-unicorn@64.0.0`.
|
|
|
2223
2223
|
Extracted from `eslint-plugin-unicorn@64.0.0`.
|
|
2224
2224
|
|
|
2225
2225
|
<details>
|
|
2226
|
-
<summary>
|
|
2226
|
+
<summary>133 rules successfully migrated</summary>
|
|
2227
2227
|
|
|
2228
|
-
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2228
|
+
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-export-from`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-single-call`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2229
2229
|
|
|
2230
2230
|
</details>
|
|
2231
2231
|
|
|
2232
2232
|
<details>
|
|
2233
|
-
<summary>
|
|
2233
|
+
<summary>15 rules have no oxlint equivalent</summary>
|
|
2234
2234
|
|
|
2235
2235
|
**Not yet implemented in oxlint**
|
|
2236
2236
|
|
|
2237
|
-
`unicorn/better-regex`, `unicorn/consistent-destructuring`, `unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-keyword-prefix`, `unicorn/no-unnecessary-polyfills`, `unicorn/no-unused-properties`, `unicorn/prefer-
|
|
2237
|
+
`unicorn/better-regex`, `unicorn/consistent-destructuring`, `unicorn/expiring-todo-comments`, `unicorn/isolated-functions`, `unicorn/no-keyword-prefix`, `unicorn/no-unnecessary-polyfills`, `unicorn/no-unused-properties`, `unicorn/prefer-json-parse-buffer`, `unicorn/prefer-simple-condition-first`, `unicorn/prefer-switch`, `unicorn/prevent-abbreviations`, `unicorn/string-content`
|
|
2238
2238
|
|
|
2239
2239
|
**Not portable to oxlint**
|
|
2240
2240
|
|
|
@@ -2251,18 +2251,18 @@ Extracted from `eslint-plugin-unicorn@64.0.0`.
|
|
|
2251
2251
|
Extracted from `eslint-plugin-unicorn@64.0.0`.
|
|
2252
2252
|
|
|
2253
2253
|
<details>
|
|
2254
|
-
<summary>
|
|
2254
|
+
<summary>133 rules successfully migrated</summary>
|
|
2255
2255
|
|
|
2256
|
-
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2256
|
+
`no-negated-condition`, `no-nested-ternary`, `unicorn/catch-error-name`, `unicorn/consistent-assert`, `unicorn/consistent-date-clone`, `unicorn/consistent-empty-array-spread`, `unicorn/consistent-existence-index-check`, `unicorn/consistent-function-scoping`, `unicorn/consistent-template-literal-escape`, `unicorn/custom-error-definition`, `unicorn/empty-brace-spaces`, `unicorn/error-message`, `unicorn/escape-case`, `unicorn/explicit-length-check`, `unicorn/filename-case`, `unicorn/import-style`, `unicorn/new-for-builtins`, `unicorn/no-abusive-eslint-disable`, `unicorn/no-accessor-recursion`, `unicorn/no-anonymous-default-export`, `unicorn/no-array-callback-reference`, `unicorn/no-array-for-each`, `unicorn/no-array-method-this-argument`, `unicorn/no-array-reduce`, `unicorn/no-array-reverse`, `unicorn/no-array-sort`, `unicorn/no-await-expression-member`, `unicorn/no-await-in-promise-methods`, `unicorn/no-console-spaces`, `unicorn/no-document-cookie`, `unicorn/no-empty-file`, `unicorn/no-hex-escape`, `unicorn/no-immediate-mutation`, `unicorn/no-instanceof-builtins`, `unicorn/no-invalid-fetch-options`, `unicorn/no-invalid-remove-event-listener`, `unicorn/no-lonely-if`, `unicorn/no-magic-array-flat-depth`, `unicorn/no-negated-condition`, `unicorn/no-negation-in-equality-check`, `unicorn/no-nested-ternary`, `unicorn/no-new-array`, `unicorn/no-new-buffer`, `unicorn/no-null`, `unicorn/no-object-as-default-parameter`, `unicorn/no-process-exit`, `unicorn/no-single-promise-in-promise-methods`, `unicorn/no-static-only-class`, `unicorn/no-thenable`, `unicorn/no-this-assignment`, `unicorn/no-typeof-undefined`, `unicorn/no-unnecessary-array-flat-depth`, `unicorn/no-unnecessary-array-splice-count`, `unicorn/no-unnecessary-await`, `unicorn/no-unnecessary-slice-end`, `unicorn/no-unreadable-array-destructuring`, `unicorn/no-unreadable-iife`, `unicorn/no-useless-collection-argument`, `unicorn/no-useless-error-capture-stack-trace`, `unicorn/no-useless-fallback-in-spread`, `unicorn/no-useless-iterator-to-array`, `unicorn/no-useless-length-check`, `unicorn/no-useless-promise-resolve-reject`, `unicorn/no-useless-spread`, `unicorn/no-useless-switch-case`, `unicorn/no-useless-undefined`, `unicorn/no-zero-fractions`, `unicorn/number-literal-case`, `unicorn/numeric-separators-style`, `unicorn/prefer-add-event-listener`, `unicorn/prefer-array-find`, `unicorn/prefer-array-flat`, `unicorn/prefer-array-flat-map`, `unicorn/prefer-array-index-of`, `unicorn/prefer-array-some`, `unicorn/prefer-at`, `unicorn/prefer-bigint-literals`, `unicorn/prefer-blob-reading-methods`, `unicorn/prefer-class-fields`, `unicorn/prefer-classlist-toggle`, `unicorn/prefer-code-point`, `unicorn/prefer-date-now`, `unicorn/prefer-default-parameters`, `unicorn/prefer-dom-node-append`, `unicorn/prefer-dom-node-dataset`, `unicorn/prefer-dom-node-remove`, `unicorn/prefer-dom-node-text-content`, `unicorn/prefer-event-target`, `unicorn/prefer-export-from`, `unicorn/prefer-global-this`, `unicorn/prefer-import-meta-properties`, `unicorn/prefer-includes`, `unicorn/prefer-keyboard-event-key`, `unicorn/prefer-logical-operator-over-ternary`, `unicorn/prefer-math-min-max`, `unicorn/prefer-math-trunc`, `unicorn/prefer-modern-dom-apis`, `unicorn/prefer-modern-math-apis`, `unicorn/prefer-module`, `unicorn/prefer-native-coercion-functions`, `unicorn/prefer-negative-index`, `unicorn/prefer-node-protocol`, `unicorn/prefer-number-properties`, `unicorn/prefer-object-from-entries`, `unicorn/prefer-optional-catch-binding`, `unicorn/prefer-prototype-methods`, `unicorn/prefer-query-selector`, `unicorn/prefer-reflect-apply`, `unicorn/prefer-regexp-test`, `unicorn/prefer-response-static-json`, `unicorn/prefer-set-has`, `unicorn/prefer-set-size`, `unicorn/prefer-single-call`, `unicorn/prefer-spread`, `unicorn/prefer-string-raw`, `unicorn/prefer-string-replace-all`, `unicorn/prefer-string-slice`, `unicorn/prefer-string-starts-ends-with`, `unicorn/prefer-string-trim-start-end`, `unicorn/prefer-structured-clone`, `unicorn/prefer-ternary`, `unicorn/prefer-top-level-await`, `unicorn/prefer-type-error`, `unicorn/relative-url-style`, `unicorn/require-array-join-separator`, `unicorn/require-module-attributes`, `unicorn/require-module-specifiers`, `unicorn/require-number-to-fixed-digits-argument`, `unicorn/require-post-message-target-origin`, `unicorn/switch-case-braces`, `unicorn/switch-case-break-position`, `unicorn/text-encoding-identifier-case`, `unicorn/throw-new-error`
|
|
2257
2257
|
|
|
2258
2258
|
</details>
|
|
2259
2259
|
|
|
2260
2260
|
<details>
|
|
2261
|
-
<summary>
|
|
2261
|
+
<summary>5 rules have no oxlint equivalent</summary>
|
|
2262
2262
|
|
|
2263
2263
|
**Not yet implemented in oxlint**
|
|
2264
2264
|
|
|
2265
|
-
`unicorn/expiring-todo-comments`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-simple-condition-first`, `unicorn/prefer-
|
|
2265
|
+
`unicorn/expiring-todo-comments`, `unicorn/no-unnecessary-polyfills`, `unicorn/prefer-simple-condition-first`, `unicorn/prefer-switch`
|
|
2266
2266
|
|
|
2267
2267
|
**Not portable to oxlint**
|
|
2268
2268
|
|
package/airbnb/base.json
CHANGED
|
@@ -283,7 +283,22 @@
|
|
|
283
283
|
"requireStringLiterals": true
|
|
284
284
|
}
|
|
285
285
|
],
|
|
286
|
-
"capitalized-comments":
|
|
286
|
+
"capitalized-comments": [
|
|
287
|
+
"off",
|
|
288
|
+
"never",
|
|
289
|
+
{
|
|
290
|
+
"line": {
|
|
291
|
+
"ignorePattern": ".*",
|
|
292
|
+
"ignoreInlineComments": true,
|
|
293
|
+
"ignoreConsecutiveComments": true
|
|
294
|
+
},
|
|
295
|
+
"block": {
|
|
296
|
+
"ignorePattern": ".*",
|
|
297
|
+
"ignoreInlineComments": true,
|
|
298
|
+
"ignoreConsecutiveComments": true
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
],
|
|
287
302
|
"func-name-matching": [
|
|
288
303
|
"off",
|
|
289
304
|
"always",
|
package/airbnb/legacy.json
CHANGED
|
@@ -248,7 +248,22 @@
|
|
|
248
248
|
"requireStringLiterals": true
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
|
-
"capitalized-comments":
|
|
251
|
+
"capitalized-comments": [
|
|
252
|
+
"off",
|
|
253
|
+
"never",
|
|
254
|
+
{
|
|
255
|
+
"line": {
|
|
256
|
+
"ignorePattern": ".*",
|
|
257
|
+
"ignoreInlineComments": true,
|
|
258
|
+
"ignoreConsecutiveComments": true
|
|
259
|
+
},
|
|
260
|
+
"block": {
|
|
261
|
+
"ignorePattern": ".*",
|
|
262
|
+
"ignoreInlineComments": true,
|
|
263
|
+
"ignoreConsecutiveComments": true
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
],
|
|
252
267
|
"func-name-matching": [
|
|
253
268
|
"off",
|
|
254
269
|
"always",
|
package/airbnb/whitespace.json
CHANGED
|
@@ -304,7 +304,22 @@
|
|
|
304
304
|
"requireStringLiterals": true
|
|
305
305
|
}
|
|
306
306
|
],
|
|
307
|
-
"capitalized-comments":
|
|
307
|
+
"capitalized-comments": [
|
|
308
|
+
"off",
|
|
309
|
+
"never",
|
|
310
|
+
{
|
|
311
|
+
"line": {
|
|
312
|
+
"ignorePattern": ".*",
|
|
313
|
+
"ignoreInlineComments": true,
|
|
314
|
+
"ignoreConsecutiveComments": true
|
|
315
|
+
},
|
|
316
|
+
"block": {
|
|
317
|
+
"ignorePattern": ".*",
|
|
318
|
+
"ignoreInlineComments": true,
|
|
319
|
+
"ignoreConsecutiveComments": true
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
],
|
|
308
323
|
"func-name-matching": [
|
|
309
324
|
"off",
|
|
310
325
|
"always",
|
|
@@ -646,6 +661,12 @@
|
|
|
646
661
|
],
|
|
647
662
|
"react/jsx-key": "off",
|
|
648
663
|
"react/jsx-no-duplicate-props": "warn",
|
|
664
|
+
"react/jsx-no-literals": [
|
|
665
|
+
"off",
|
|
666
|
+
{
|
|
667
|
+
"noStrings": true
|
|
668
|
+
}
|
|
669
|
+
],
|
|
649
670
|
"react/jsx-no-undef": ["warn"],
|
|
650
671
|
"react/jsx-pascal-case": [
|
|
651
672
|
"warn",
|
|
@@ -858,16 +879,7 @@
|
|
|
858
879
|
"handlers": ["onClick", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"]
|
|
859
880
|
}
|
|
860
881
|
],
|
|
861
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
862
|
-
"warn",
|
|
863
|
-
{
|
|
864
|
-
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
865
|
-
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
866
|
-
"li": ["menuitem", "option", "row", "tab", "treeitem"],
|
|
867
|
-
"table": ["grid"],
|
|
868
|
-
"td": ["gridcell"]
|
|
869
|
-
}
|
|
870
|
-
],
|
|
882
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": "warn",
|
|
871
883
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
872
884
|
"warn",
|
|
873
885
|
{
|
package/airbnb.json
CHANGED
|
@@ -300,7 +300,22 @@
|
|
|
300
300
|
"requireStringLiterals": true
|
|
301
301
|
}
|
|
302
302
|
],
|
|
303
|
-
"capitalized-comments":
|
|
303
|
+
"capitalized-comments": [
|
|
304
|
+
"off",
|
|
305
|
+
"never",
|
|
306
|
+
{
|
|
307
|
+
"line": {
|
|
308
|
+
"ignorePattern": ".*",
|
|
309
|
+
"ignoreInlineComments": true,
|
|
310
|
+
"ignoreConsecutiveComments": true
|
|
311
|
+
},
|
|
312
|
+
"block": {
|
|
313
|
+
"ignorePattern": ".*",
|
|
314
|
+
"ignoreInlineComments": true,
|
|
315
|
+
"ignoreConsecutiveComments": true
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
],
|
|
304
319
|
"func-name-matching": [
|
|
305
320
|
"off",
|
|
306
321
|
"always",
|
|
@@ -636,6 +651,12 @@
|
|
|
636
651
|
],
|
|
637
652
|
"react/jsx-key": "off",
|
|
638
653
|
"react/jsx-no-duplicate-props": "error",
|
|
654
|
+
"react/jsx-no-literals": [
|
|
655
|
+
"off",
|
|
656
|
+
{
|
|
657
|
+
"noStrings": true
|
|
658
|
+
}
|
|
659
|
+
],
|
|
639
660
|
"react/jsx-no-undef": "error",
|
|
640
661
|
"react/jsx-pascal-case": [
|
|
641
662
|
"error",
|
|
@@ -846,16 +867,7 @@
|
|
|
846
867
|
"handlers": ["onClick", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"]
|
|
847
868
|
}
|
|
848
869
|
],
|
|
849
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
850
|
-
"error",
|
|
851
|
-
{
|
|
852
|
-
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
853
|
-
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
854
|
-
"li": ["menuitem", "option", "row", "tab", "treeitem"],
|
|
855
|
-
"table": ["grid"],
|
|
856
|
-
"td": ["gridcell"]
|
|
857
|
-
}
|
|
858
|
-
],
|
|
870
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
859
871
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
860
872
|
"error",
|
|
861
873
|
{
|
package/alloy/react.json
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"react/jsx-no-comment-textnodes": "error",
|
|
24
24
|
"react/jsx-no-constructed-context-values": "error",
|
|
25
25
|
"react/jsx-no-duplicate-props": "error",
|
|
26
|
+
"react/jsx-no-literals": "off",
|
|
26
27
|
"react/jsx-no-script-url": "error",
|
|
27
28
|
"react/jsx-no-target-blank": "off",
|
|
28
29
|
"react/jsx-no-undef": "error",
|
package/hardcore.json
CHANGED
|
@@ -12,25 +12,7 @@
|
|
|
12
12
|
"jsx-a11y/aria-unsupported-elements": "error",
|
|
13
13
|
"jsx-a11y/autocomplete-valid": "error",
|
|
14
14
|
"jsx-a11y/click-events-have-key-events": "error",
|
|
15
|
-
"jsx-a11y/control-has-associated-label":
|
|
16
|
-
"off",
|
|
17
|
-
{
|
|
18
|
-
"ignoreElements": ["audio", "canvas", "embed", "input", "textarea", "tr", "video"],
|
|
19
|
-
"ignoreRoles": [
|
|
20
|
-
"grid",
|
|
21
|
-
"listbox",
|
|
22
|
-
"menu",
|
|
23
|
-
"menubar",
|
|
24
|
-
"radiogroup",
|
|
25
|
-
"row",
|
|
26
|
-
"tablist",
|
|
27
|
-
"toolbar",
|
|
28
|
-
"tree",
|
|
29
|
-
"treegrid"
|
|
30
|
-
],
|
|
31
|
-
"includeRoles": ["alert", "dialog"]
|
|
32
|
-
}
|
|
33
|
-
],
|
|
15
|
+
"jsx-a11y/control-has-associated-label": "off",
|
|
34
16
|
"jsx-a11y/heading-has-content": "error",
|
|
35
17
|
"jsx-a11y/html-has-lang": "error",
|
|
36
18
|
"jsx-a11y/iframe-has-title": "error",
|
|
@@ -74,17 +56,7 @@
|
|
|
74
56
|
"img": ["onError", "onLoad"]
|
|
75
57
|
}
|
|
76
58
|
],
|
|
77
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
78
|
-
"error",
|
|
79
|
-
{
|
|
80
|
-
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
81
|
-
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
82
|
-
"li": ["menuitem", "menuitemradio", "menuitemcheckbox", "option", "row", "tab", "treeitem"],
|
|
83
|
-
"table": ["grid"],
|
|
84
|
-
"td": ["gridcell"],
|
|
85
|
-
"fieldset": ["radiogroup", "presentation"]
|
|
86
|
-
}
|
|
87
|
-
],
|
|
59
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
88
60
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
89
61
|
"error",
|
|
90
62
|
{
|
package/jsx-a11y/strict.json
CHANGED
|
@@ -11,25 +11,7 @@
|
|
|
11
11
|
"jsx-a11y/aria-unsupported-elements": "error",
|
|
12
12
|
"jsx-a11y/autocomplete-valid": "error",
|
|
13
13
|
"jsx-a11y/click-events-have-key-events": "error",
|
|
14
|
-
"jsx-a11y/control-has-associated-label":
|
|
15
|
-
"off",
|
|
16
|
-
{
|
|
17
|
-
"ignoreElements": ["audio", "canvas", "embed", "input", "textarea", "tr", "video"],
|
|
18
|
-
"ignoreRoles": [
|
|
19
|
-
"grid",
|
|
20
|
-
"listbox",
|
|
21
|
-
"menu",
|
|
22
|
-
"menubar",
|
|
23
|
-
"radiogroup",
|
|
24
|
-
"row",
|
|
25
|
-
"tablist",
|
|
26
|
-
"toolbar",
|
|
27
|
-
"tree",
|
|
28
|
-
"treegrid"
|
|
29
|
-
],
|
|
30
|
-
"includeRoles": ["alert", "dialog"]
|
|
31
|
-
}
|
|
32
|
-
],
|
|
14
|
+
"jsx-a11y/control-has-associated-label": "off",
|
|
33
15
|
"jsx-a11y/heading-has-content": "error",
|
|
34
16
|
"jsx-a11y/html-has-lang": "error",
|
|
35
17
|
"jsx-a11y/iframe-has-title": "error",
|
package/package.json
CHANGED
package/react/all.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"react/jsx-no-comment-textnodes": "error",
|
|
19
19
|
"react/jsx-no-constructed-context-values": "error",
|
|
20
20
|
"react/jsx-no-duplicate-props": "error",
|
|
21
|
+
"react/jsx-no-literals": "error",
|
|
21
22
|
"react/jsx-no-script-url": "error",
|
|
22
23
|
"react/jsx-no-target-blank": "error",
|
|
23
24
|
"react/jsx-no-useless-fragment": "error",
|
package/unicorn/all.json
CHANGED
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"unicorn/prefer-dom-node-remove": "error",
|
|
90
90
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
91
91
|
"unicorn/prefer-event-target": "error",
|
|
92
|
+
"unicorn/prefer-export-from": "error",
|
|
92
93
|
"unicorn/prefer-global-this": "error",
|
|
93
94
|
"unicorn/prefer-import-meta-properties": "error",
|
|
94
95
|
"unicorn/prefer-includes": "error",
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
"unicorn/prefer-response-static-json": "error",
|
|
113
114
|
"unicorn/prefer-set-has": "error",
|
|
114
115
|
"unicorn/prefer-set-size": "error",
|
|
116
|
+
"unicorn/prefer-single-call": "error",
|
|
115
117
|
"unicorn/prefer-spread": "error",
|
|
116
118
|
"unicorn/prefer-string-raw": "error",
|
|
117
119
|
"unicorn/prefer-string-replace-all": "error",
|
package/unicorn/recommended.json
CHANGED
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"unicorn/prefer-dom-node-remove": "error",
|
|
90
90
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
91
91
|
"unicorn/prefer-event-target": "error",
|
|
92
|
+
"unicorn/prefer-export-from": "error",
|
|
92
93
|
"unicorn/prefer-global-this": "error",
|
|
93
94
|
"unicorn/prefer-import-meta-properties": "off",
|
|
94
95
|
"unicorn/prefer-includes": "error",
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
"unicorn/prefer-response-static-json": "error",
|
|
113
114
|
"unicorn/prefer-set-has": "error",
|
|
114
115
|
"unicorn/prefer-set-size": "error",
|
|
116
|
+
"unicorn/prefer-single-call": "error",
|
|
115
117
|
"unicorn/prefer-spread": "error",
|
|
116
118
|
"unicorn/prefer-string-raw": "error",
|
|
117
119
|
"unicorn/prefer-string-replace-all": "error",
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"unicorn/prefer-dom-node-remove": "error",
|
|
90
90
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
91
91
|
"unicorn/prefer-event-target": "error",
|
|
92
|
+
"unicorn/prefer-export-from": "off",
|
|
92
93
|
"unicorn/prefer-global-this": "error",
|
|
93
94
|
"unicorn/prefer-import-meta-properties": "off",
|
|
94
95
|
"unicorn/prefer-includes": "error",
|
|
@@ -112,6 +113,7 @@
|
|
|
112
113
|
"unicorn/prefer-response-static-json": "error",
|
|
113
114
|
"unicorn/prefer-set-has": "error",
|
|
114
115
|
"unicorn/prefer-set-size": "error",
|
|
116
|
+
"unicorn/prefer-single-call": "error",
|
|
115
117
|
"unicorn/prefer-spread": "off",
|
|
116
118
|
"unicorn/prefer-string-raw": "error",
|
|
117
119
|
"unicorn/prefer-string-replace-all": "error",
|
package/vue/essential.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"vue/no-deprecated-model-definition": "error",
|
|
11
11
|
"vue/no-deprecated-props-default-this": "error",
|
|
12
12
|
"vue/no-deprecated-vue-config-keycodes": "error",
|
|
13
|
+
"vue/no-dupe-keys": "error",
|
|
13
14
|
"vue/no-export-in-script-setup": "error",
|
|
14
15
|
"vue/no-expose-after-await": "error",
|
|
15
16
|
"vue/no-lifecycle-after-await": "error",
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
"vue/no-reserved-keys": "error",
|
|
18
19
|
"vue/no-reserved-props": "error",
|
|
19
20
|
"vue/no-shared-component-data": "error",
|
|
21
|
+
"vue/no-side-effects-in-computed-properties": "error",
|
|
20
22
|
"vue/no-watch-after-await": "error",
|
|
21
23
|
"vue/prefer-import-from-vue": "error",
|
|
22
24
|
"vue/require-prop-type-constructor": "error",
|
package/vue/vue2-essential.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"rules": {
|
|
4
4
|
"vue/no-arrow-functions-in-watch": "error",
|
|
5
5
|
"vue/no-computed-properties-in-data": "error",
|
|
6
|
+
"vue/no-dupe-keys": "error",
|
|
6
7
|
"vue/no-export-in-script-setup": "error",
|
|
7
8
|
"vue/no-reserved-component-names": "error",
|
|
8
9
|
"vue/no-reserved-keys": "error",
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
}
|
|
14
15
|
],
|
|
15
16
|
"vue/no-shared-component-data": "error",
|
|
17
|
+
"vue/no-side-effects-in-computed-properties": "error",
|
|
16
18
|
"vue/require-prop-type-constructor": "error",
|
|
17
19
|
"vue/require-render-return": "error",
|
|
18
20
|
"vue/return-in-computed-property": "error",
|
package/wikimedia.json
CHANGED
package/xo.json
CHANGED
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"unicorn/prefer-dom-node-remove": "error",
|
|
94
94
|
"unicorn/prefer-dom-node-text-content": "error",
|
|
95
95
|
"unicorn/prefer-event-target": "error",
|
|
96
|
+
"unicorn/prefer-export-from": "error",
|
|
96
97
|
"unicorn/prefer-global-this": "error",
|
|
97
98
|
"unicorn/prefer-import-meta-properties": "off",
|
|
98
99
|
"unicorn/prefer-includes": "error",
|
|
@@ -116,6 +117,7 @@
|
|
|
116
117
|
"unicorn/prefer-response-static-json": "error",
|
|
117
118
|
"unicorn/prefer-set-has": "error",
|
|
118
119
|
"unicorn/prefer-set-size": "error",
|
|
120
|
+
"unicorn/prefer-single-call": "error",
|
|
119
121
|
"unicorn/prefer-spread": "error",
|
|
120
122
|
"unicorn/prefer-string-raw": "error",
|
|
121
123
|
"unicorn/prefer-string-replace-all": "error",
|