oxlint-config-presets 0.1.13 → 0.1.15
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 +25 -25
- package/airbnb/whitespace.json +10 -1
- package/airbnb.json +10 -1
- package/eslint.json +1 -0
- package/jsx-a11y/recommended.json +11 -1
- package/package.json +1 -1
- package/vue/essential.json +1 -0
- package/vue/vue2-essential.json +1 -0
- package/xo.json +7 -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.72.0`.
|
|
175
175
|
|
|
176
176
|
### `airbnb.json`
|
|
177
177
|
|
|
@@ -182,18 +182,18 @@ Generated with `@oxlint/migrate@1.70.0`.
|
|
|
182
182
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
183
183
|
|
|
184
184
|
<details>
|
|
185
|
-
<summary>
|
|
185
|
+
<summary>287 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`, `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`
|
|
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-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`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
188
188
|
|
|
189
189
|
</details>
|
|
190
190
|
|
|
191
191
|
<details>
|
|
192
|
-
<summary>
|
|
192
|
+
<summary>3 rules migrated without options (incompatible schema)</summary>
|
|
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
|
-
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `
|
|
196
|
+
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `react/jsx-no-duplicate-props`
|
|
197
197
|
|
|
198
198
|
</details>
|
|
199
199
|
|
|
@@ -337,18 +337,18 @@ Extracted from `eslint-config-airbnb@19.0.4`.
|
|
|
337
337
|
Extracted from `eslint-config-airbnb@19.0.4`.
|
|
338
338
|
|
|
339
339
|
<details>
|
|
340
|
-
<summary>
|
|
340
|
+
<summary>287 rules successfully migrated</summary>
|
|
341
341
|
|
|
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`
|
|
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-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`, `typescript/consistent-return`, `typescript/dot-notation`
|
|
343
343
|
|
|
344
344
|
</details>
|
|
345
345
|
|
|
346
346
|
<details>
|
|
347
|
-
<summary>
|
|
347
|
+
<summary>3 rules migrated without options (incompatible schema)</summary>
|
|
348
348
|
|
|
349
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.
|
|
350
350
|
|
|
351
|
-
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `
|
|
351
|
+
`import/no-cycle`, `jsx-a11y/anchor-has-content`, `react/jsx-no-duplicate-props`
|
|
352
352
|
|
|
353
353
|
</details>
|
|
354
354
|
|
|
@@ -624,11 +624,11 @@ Extracted from `@eslint/js@10.0.1`.
|
|
|
624
624
|
Extracted from `eslint-config-xo@0.51.0`.
|
|
625
625
|
|
|
626
626
|
<details>
|
|
627
|
-
<summary>
|
|
627
|
+
<summary>169 rules have no oxlint equivalent</summary>
|
|
628
628
|
|
|
629
629
|
**Not yet implemented in oxlint**
|
|
630
630
|
|
|
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/
|
|
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/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`
|
|
632
632
|
|
|
633
633
|
**Not portable to oxlint**
|
|
634
634
|
|
|
@@ -794,11 +794,11 @@ Extracted from `eslint-config-eslint@14.0.0`.
|
|
|
794
794
|
</details>
|
|
795
795
|
|
|
796
796
|
<details>
|
|
797
|
-
<summary>
|
|
797
|
+
<summary>135 rules have no oxlint equivalent</summary>
|
|
798
798
|
|
|
799
799
|
**Not yet implemented in oxlint**
|
|
800
800
|
|
|
801
|
-
`jsdoc/check-alignment`, `jsdoc/check-param-names`, `jsdoc/check-types`, `jsdoc/check-values`, `jsdoc/escape-inline-tags`, `jsdoc/multiline-blocks`, `jsdoc/no-multi-asterisks`, `jsdoc/require-jsdoc`, `jsdoc/require-returns-check`, `jsdoc/require-yields-check`, `jsdoc/tag-lines`, `jsdoc/ts-no-empty-object-type`, `jsdoc/valid-types`, `jsdoc/check-syntax`, `jsdoc/check-values`, `jsdoc/no-bad-blocks`, `jsdoc/require-asterisk-prefix`, `jsdoc/require-description`, `jsdoc/require-hyphen-before-param-description`, `jsdoc/require-throws`, `jsdoc/tag-lines`, `jsdoc/check-alignment`, `jsdoc/check-param-names`, `jsdoc/check-types`, `jsdoc/multiline-blocks`, `jsdoc/no-multi-asterisks`, `jsdoc/require-jsdoc`, `jsdoc/require-returns-check`, `jsdoc/require-yields-check`, `jsdoc/valid-types`, `no-unreachable-loop`, `strict`, `n/no-deprecated-api`, `n/no-extraneous-import`, `n/no-extraneous-require`, `n/no-missing-import`, `n/no-missing-require`, `n/no-process-exit`, `n/no-unpublished-bin`, `n/no-unpublished-import`, `n/no-unpublished-require`, `n/no-unsupported-features/es-builtins`, `n/no-unsupported-features/es-syntax`, `n/no-unsupported-features/node-builtins`, `n/process-exit-as-throw`, `n/hashbang`, `n/prefer-node-protocol`, `n/no-deprecated-api`, `n/no-extraneous-import`, `n/no-extraneous-require`, `n/no-missing-import`, `n/no-missing-require`, `n/no-process-exit`, `n/no-unpublished-bin`, `n/no-unpublished-import`, `n/no-unpublished-require`, `n/no-unsupported-features/es-builtins`, `n/no-unsupported-features/es-syntax`, `n/no-unsupported-features/node-builtins`, `n/process-exit-as-throw`, `n/hashbang`, `n/prefer-node-protocol
|
|
801
|
+
`jsdoc/check-alignment`, `jsdoc/check-param-names`, `jsdoc/check-types`, `jsdoc/check-values`, `jsdoc/escape-inline-tags`, `jsdoc/multiline-blocks`, `jsdoc/no-multi-asterisks`, `jsdoc/require-jsdoc`, `jsdoc/require-returns-check`, `jsdoc/require-yields-check`, `jsdoc/tag-lines`, `jsdoc/ts-no-empty-object-type`, `jsdoc/valid-types`, `jsdoc/check-syntax`, `jsdoc/check-values`, `jsdoc/no-bad-blocks`, `jsdoc/require-asterisk-prefix`, `jsdoc/require-description`, `jsdoc/require-hyphen-before-param-description`, `jsdoc/require-throws`, `jsdoc/tag-lines`, `jsdoc/check-alignment`, `jsdoc/check-param-names`, `jsdoc/check-types`, `jsdoc/multiline-blocks`, `jsdoc/no-multi-asterisks`, `jsdoc/require-jsdoc`, `jsdoc/require-returns-check`, `jsdoc/require-yields-check`, `jsdoc/valid-types`, `no-unreachable-loop`, `strict`, `n/no-deprecated-api`, `n/no-extraneous-import`, `n/no-extraneous-require`, `n/no-missing-import`, `n/no-missing-require`, `n/no-process-exit`, `n/no-unpublished-bin`, `n/no-unpublished-import`, `n/no-unpublished-require`, `n/no-unsupported-features/es-builtins`, `n/no-unsupported-features/es-syntax`, `n/no-unsupported-features/node-builtins`, `n/process-exit-as-throw`, `n/hashbang`, `n/prefer-node-protocol`, `n/no-deprecated-api`, `n/no-extraneous-import`, `n/no-extraneous-require`, `n/no-missing-import`, `n/no-missing-require`, `n/no-process-exit`, `n/no-unpublished-bin`, `n/no-unpublished-import`, `n/no-unpublished-require`, `n/no-unsupported-features/es-builtins`, `n/no-unsupported-features/es-syntax`, `n/no-unsupported-features/node-builtins`, `n/process-exit-as-throw`, `n/hashbang`, `n/prefer-node-protocol`
|
|
802
802
|
|
|
803
803
|
**Not portable to oxlint**
|
|
804
804
|
|
|
@@ -1679,18 +1679,18 @@ Extracted from `eslint-plugin-jsdoc@62.9.0`.
|
|
|
1679
1679
|
Extracted from `eslint-plugin-jsx-a11y@6.10.2`.
|
|
1680
1680
|
|
|
1681
1681
|
<details>
|
|
1682
|
-
<summary>
|
|
1682
|
+
<summary>32 rules successfully migrated</summary>
|
|
1683
1683
|
|
|
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`
|
|
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-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`
|
|
1685
1685
|
|
|
1686
1686
|
</details>
|
|
1687
1687
|
|
|
1688
1688
|
<details>
|
|
1689
|
-
<summary>
|
|
1689
|
+
<summary>1 rules migrated without options (incompatible schema)</summary>
|
|
1690
1690
|
|
|
1691
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
1692
|
|
|
1693
|
-
`jsx-a11y/control-has-associated-label
|
|
1693
|
+
`jsx-a11y/control-has-associated-label`
|
|
1694
1694
|
|
|
1695
1695
|
</details>
|
|
1696
1696
|
|
|
@@ -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>30 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-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`
|
|
1976
|
+
`vue/no-arrow-functions-in-watch`, `vue/no-async-in-computed-properties`, `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>53 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-
|
|
1985
|
+
`vue/multi-word-component-names`, `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
|
|
|
@@ -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>17 rules successfully migrated</summary>
|
|
2059
2059
|
|
|
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`
|
|
2060
|
+
`vue/no-arrow-functions-in-watch`, `vue/no-async-in-computed-properties`, `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>41 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-
|
|
2069
|
+
`vue/multi-word-component-names`, `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
|
|
package/airbnb/whitespace.json
CHANGED
|
@@ -879,7 +879,16 @@
|
|
|
879
879
|
"handlers": ["onClick", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"]
|
|
880
880
|
}
|
|
881
881
|
],
|
|
882
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
882
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": [
|
|
883
|
+
"warn",
|
|
884
|
+
{
|
|
885
|
+
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
886
|
+
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
887
|
+
"li": ["menuitem", "option", "row", "tab", "treeitem"],
|
|
888
|
+
"table": ["grid"],
|
|
889
|
+
"td": ["gridcell"]
|
|
890
|
+
}
|
|
891
|
+
],
|
|
883
892
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
884
893
|
"warn",
|
|
885
894
|
{
|
package/airbnb.json
CHANGED
|
@@ -867,7 +867,16 @@
|
|
|
867
867
|
"handlers": ["onClick", "onMouseDown", "onMouseUp", "onKeyPress", "onKeyDown", "onKeyUp"]
|
|
868
868
|
}
|
|
869
869
|
],
|
|
870
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
870
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": [
|
|
871
|
+
"error",
|
|
872
|
+
{
|
|
873
|
+
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
874
|
+
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
875
|
+
"li": ["menuitem", "option", "row", "tab", "treeitem"],
|
|
876
|
+
"table": ["grid"],
|
|
877
|
+
"td": ["gridcell"]
|
|
878
|
+
}
|
|
879
|
+
],
|
|
871
880
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
872
881
|
"error",
|
|
873
882
|
{
|
package/eslint.json
CHANGED
|
@@ -297,6 +297,7 @@
|
|
|
297
297
|
"node/no-exports-assign": "error",
|
|
298
298
|
"node/callback-return": ["error", ["cb", "callback", "next"]],
|
|
299
299
|
"node/handle-callback-err": ["error", "err"],
|
|
300
|
+
"node/no-mixed-requires": "error",
|
|
300
301
|
"node/no-new-require": "error",
|
|
301
302
|
"node/no-path-concat": "error"
|
|
302
303
|
},
|
|
@@ -56,7 +56,17 @@
|
|
|
56
56
|
"img": ["onError", "onLoad"]
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
|
-
"jsx-a11y/no-noninteractive-element-to-interactive-role":
|
|
59
|
+
"jsx-a11y/no-noninteractive-element-to-interactive-role": [
|
|
60
|
+
"error",
|
|
61
|
+
{
|
|
62
|
+
"ul": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
63
|
+
"ol": ["listbox", "menu", "menubar", "radiogroup", "tablist", "tree", "treegrid"],
|
|
64
|
+
"li": ["menuitem", "menuitemradio", "menuitemcheckbox", "option", "row", "tab", "treeitem"],
|
|
65
|
+
"table": ["grid"],
|
|
66
|
+
"td": ["gridcell"],
|
|
67
|
+
"fieldset": ["radiogroup", "presentation"]
|
|
68
|
+
}
|
|
69
|
+
],
|
|
60
70
|
"jsx-a11y/no-noninteractive-tabindex": [
|
|
61
71
|
"error",
|
|
62
72
|
{
|
package/package.json
CHANGED
package/vue/essential.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"plugins": ["vue"],
|
|
3
3
|
"rules": {
|
|
4
4
|
"vue/no-arrow-functions-in-watch": "error",
|
|
5
|
+
"vue/no-async-in-computed-properties": "error",
|
|
5
6
|
"vue/no-computed-properties-in-data": "error",
|
|
6
7
|
"vue/no-deprecated-data-object-declaration": "error",
|
|
7
8
|
"vue/no-deprecated-delete-set": "error",
|
package/vue/vue2-essential.json
CHANGED
package/xo.json
CHANGED