oxlint-config-presets
v0.1.11
Published
Oxlint configurations ported from popular ESLint styleguides
Maintainers
Readme
oxlint-config-presets
Ready-to-use Oxlint preset configs ported from popular ESLint style guides.
Use these presets in your .oxlintrc.json using extends, just like ESLint shareable configs.
Install
npm install --save-dev oxlint-config-presets
# or
pnpm add -D oxlint-config-presets
# or
yarn add -D oxlint-config-presetsQuick start
Pick a preset and extend it in your .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["./node_modules/oxlint-config-presets/airbnb.json"]
}You can also compose multiple presets. Later entries override earlier ones:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": [
"./node_modules/oxlint-config-presets/airbnb.json",
"./node_modules/oxlint-config-presets/airbnb/hooks.json",
"./node_modules/oxlint-config-presets/@typescript-eslint/strict-type-checked.json"
]
}[!NOTE] Oxlint currently expects
extendsvalues to be JSON file paths relative to your config file. For presets in this package, use./node_modules/oxlint-config-presets/<config>.json.
Usage with oxlint.config.ts
If you use a TypeScript config file (oxlint.config.ts), you can import presets directly. TypeScript type definitions are included for all presets:
import airbnb from 'oxlint-config-presets/airbnb.json' with { type: 'json' };
import tsStrict from 'oxlint-config-presets/@typescript-eslint/strict-type-checked.json' with { type: 'json' };
import { defineConfig } from 'oxlint';
export default defineConfig({
extends: [airbnb, tsStrict],
});[!NOTE] Requires Node.js v22.18+ or v24+ for
with { type: "json" }(import attributes) support.
Available configs
- eslint-config-airbnb
- (default)
airbnb.json - base
airbnb/base.json - hooks
airbnb/hooks.json - legacy
airbnb/legacy.json - whitespace
airbnb/whitespace.json
- (default)
- eslint-config-standard
standard.json - eslint-config-google
google.json - @typescript-eslint/eslint-plugin
- recommended
@typescript-eslint/recommended.json - recommended-type-checked
@typescript-eslint/recommended-type-checked.json - strict
@typescript-eslint/strict.json - strict-type-checked
@typescript-eslint/strict-type-checked.json - stylistic
@typescript-eslint/stylistic.json - stylistic-type-checked
@typescript-eslint/stylistic-type-checked.json - all
@typescript-eslint/all.json
- recommended
- @eslint/js
- recommended
@eslint/recommended.json - all
@eslint/all.json
- recommended
- eslint-config-xo
xo.json - eslint-config-problems
problems.json - eslint-config-hardcore
hardcore.json - eslint-config-wikimedia
wikimedia.json - eslint-config-eslint
- (default)
eslint.json - base
eslint/base.json
- (default)
- eslint-config-alloy
- (default)
alloy.json - react
alloy/react.json - typescript
alloy/typescript.json
- (default)
- eslint-config-prettier
prettier.json - @antfu/eslint-config
@antfu.json - eslint-plugin-import
- recommended
import/recommended.json - errors
import/errors.json - stage-0
import/stage-0.json - typescript
import/typescript.json - warnings
import/warnings.json
- recommended
- eslint-plugin-import-x
- recommended
import-x/recommended.json - errors
import-x/errors.json - stage-0
import-x/stage-0.json - typescript
import-x/typescript.json - warnings
import-x/warnings.json
- recommended
- eslint-config-next
- recommended
next/recommended.json - core-web-vitals
next/core-web-vitals.json
- recommended
- eslint-plugin-react
- recommended
react/recommended.json - all
react/all.json - jsx-runtime
react/jsx-runtime.json
- recommended
- eslint-plugin-react-hooks
- recommended
react-hooks/recommended.json - recommended-latest
react-hooks/recommended-latest.json
- recommended
- eslint-plugin-react-refresh
- recommended
react-refresh/recommended.json - next
react-refresh/next.json - vite
react-refresh/vite.json
- recommended
- eslint-plugin-react-perf
- recommended
react-perf/recommended.json - all
react-perf/all.json
- recommended
- eslint-plugin-jsdoc
- recommended
jsdoc/recommended.json - recommended-error
jsdoc/recommended-error.json - recommended-tsdoc
jsdoc/recommended-tsdoc.json - recommended-tsdoc-error
jsdoc/recommended-tsdoc-error.json - recommended-typescript
jsdoc/recommended-typescript.json - recommended-typescript-error
jsdoc/recommended-typescript-error.json - recommended-typescript-flavor
jsdoc/recommended-typescript-flavor.json - recommended-typescript-flavor-error
jsdoc/recommended-typescript-flavor-error.json - default-expressions
jsdoc/default-expressions.json - examples
jsdoc/examples.json - examples-and-default-expressions
jsdoc/examples-and-default-expressions.json
- recommended
- eslint-plugin-jsx-a11y
- recommended
jsx-a11y/recommended.json - strict
jsx-a11y/strict.json
- recommended
- eslint-plugin-n
- recommended
n/recommended.json - recommended-module
n/recommended-module.json - recommended-script
n/recommended-script.json
- recommended
- eslint-plugin-promise
- recommended
promise/recommended.json
- recommended
- eslint-plugin-jest
- recommended
jest/recommended.json - all
jest/all.json - style
jest/style.json
- recommended
- @vitest/eslint-plugin
- recommended
@vitest/recommended.json - all
@vitest/all.json
- recommended
- eslint-plugin-vue
- recommended
vue/recommended.json - recommended-error
vue/recommended-error.json - essential
vue/essential.json - strongly-recommended
vue/strongly-recommended.json - strongly-recommended-error
vue/strongly-recommended-error.json - vue2-essential
vue/vue2-essential.json - vue2-recommended
vue/vue2-recommended.json - vue2-recommended-error
vue/vue2-recommended-error.json - vue2-strongly-recommended
vue/vue2-strongly-recommended.json - vue2-strongly-recommended-error
vue/vue2-strongly-recommended-error.json
- recommended
- eslint-plugin-unicorn
- recommended
unicorn/recommended.json - all
unicorn/all.json - unopinionated
unicorn/unopinionated.json
- recommended
Generated with @oxlint/[email protected].
airbnb.json
"./node_modules/oxlint-config-presets/airbnb.json"Extracted from [email protected].
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-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-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
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
import/no-cycle, jsx-a11y/anchor-has-content, react/jsx-no-duplicate-props
Not yet implemented in oxlint
no-unreachable-loop, no-restricted-syntax, one-var, import/no-extraneous-dependencies, import/no-useless-path-segments, import/no-import-module-exports, import/no-relative-packages, strict, react/jsx-no-bind, react/prefer-stateless-function, react/require-default-props, react/no-typos, react/destructuring-assignment, react/function-component-definition, react/no-arrow-function-lifecycle, react/no-invalid-html-attribute
Not portable to oxlint
dot-location, no-floating-decimal, no-multi-spaces, no-octal, no-octal-escape, no-return-await, wrap-iife, no-dupe-args, no-extra-semi, global-require, no-buffer-constructor, no-new-require, no-path-concat, array-bracket-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, eol-last, function-call-argument-newline, func-call-spacing, function-paren-newline, implicit-arrow-linebreak, indent, key-spacing, keyword-spacing, linebreak-style, lines-between-class-members, lines-around-directive, max-len, new-parens, newline-per-chained-call, no-mixed-operators, no-mixed-spaces-and-tabs, no-multiple-empty-lines, no-new-object, no-spaced-func, no-tabs, no-trailing-spaces, no-whitespace-before-property, nonblock-statement-body-position, object-curly-spacing, object-curly-newline, object-property-newline, one-var-declaration-per-line, operator-linebreak, padded-blocks, quote-props, quotes, semi, semi-spacing, semi-style, space-before-blocks, space-before-function-paren, space-in-parens, space-infix-ops, space-unary-ops, spaced-comment, switch-colon-spacing, template-tag-spacing, no-undef-init, arrow-parens, arrow-spacing, generator-star-spacing, no-confusing-arrow, no-new-symbol, rest-spread-spacing, template-curly-spacing, yield-star-spacing, import/no-unresolved, import/order, jsx-quotes, react/forbid-prop-types, react/jsx-closing-bracket-location, react/jsx-closing-tag-location, react/jsx-curly-spacing, react/jsx-indent-props, react/jsx-max-props-per-line, react/jsx-uses-react, react/jsx-uses-vars, react/no-deprecated, react/prop-types, react/sort-comp, react/jsx-wrap-multilines, react/jsx-first-prop-new-line, react/jsx-equals-spacing, react/jsx-indent, react/no-unused-prop-types, react/jsx-tag-spacing, react/forbid-foreign-prop-types, react/default-props-match-prop-types, react/no-unused-state, react/jsx-one-expression-per-line, react/no-access-state-in-setstate, react/jsx-props-no-multi-spaces, react/jsx-curly-newline, react/static-property-placement, react/prefer-exact-props, react/no-unused-class-component-methods
- react.version "detect" is not supported. Specify an explicit version (e.g., "18.2.0") in your oxlint config.
- Added 65 globals to the root config. This may happen when your ESLint config uses a different version of the
globalspackage than @oxlint/migrate. Try updatingglobalsand rerun the migration to get a simpler config.
Settings not migrated (not supported by oxlint):
import/resolverimport/extensionsimport/core-modulesimport/ignorereact.pragmapropWrapperFunctions
airbnb/base.json
"./node_modules/oxlint-config-presets/airbnb/base.json"Extracted from [email protected].
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-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
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
import/no-cycle
Not yet implemented in oxlint
no-unreachable-loop, no-restricted-syntax, one-var, import/no-extraneous-dependencies, import/no-useless-path-segments, import/no-import-module-exports, import/no-relative-packages, strict
Not portable to oxlint
dot-location, no-floating-decimal, no-multi-spaces, no-octal, no-octal-escape, no-return-await, wrap-iife, no-dupe-args, no-extra-semi, global-require, no-buffer-constructor, no-new-require, no-path-concat, array-bracket-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, eol-last, function-call-argument-newline, func-call-spacing, function-paren-newline, implicit-arrow-linebreak, indent, key-spacing, keyword-spacing, linebreak-style, lines-between-class-members, lines-around-directive, max-len, new-parens, newline-per-chained-call, no-mixed-operators, no-mixed-spaces-and-tabs, no-multiple-empty-lines, no-new-object, no-spaced-func, no-tabs, no-trailing-spaces, no-whitespace-before-property, nonblock-statement-body-position, object-curly-spacing, object-curly-newline, object-property-newline, one-var-declaration-per-line, operator-linebreak, padded-blocks, quote-props, quotes, semi, semi-spacing, semi-style, space-before-blocks, space-before-function-paren, space-in-parens, space-infix-ops, space-unary-ops, spaced-comment, switch-colon-spacing, template-tag-spacing, no-undef-init, arrow-parens, arrow-spacing, generator-star-spacing, no-confusing-arrow, no-new-symbol, rest-spread-spacing, template-curly-spacing, yield-star-spacing, import/no-unresolved, import/order
- Added 65 globals to the root config. This may happen when your ESLint config uses a different version of the
globalspackage than @oxlint/migrate. Try updatingglobalsand rerun the migration to get a simpler config.
Settings not migrated (not supported by oxlint):
import/resolverimport/extensionsimport/core-modulesimport/ignore
airbnb/hooks.json
"./node_modules/oxlint-config-presets/airbnb/hooks.json"Extracted from [email protected].
react/rules-of-hooks, react/exhaustive-deps
airbnb/legacy.json
"./node_modules/oxlint-config-presets/airbnb/legacy.json"Extracted from [email protected].
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-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
Not yet implemented in oxlint
no-unreachable-loop, no-restricted-syntax, one-var, strict
Not portable to oxlint
dot-location, no-floating-decimal, no-multi-spaces, no-octal, no-octal-escape, no-return-await, wrap-iife, no-dupe-args, no-extra-semi, global-require, no-buffer-constructor, no-new-require, no-path-concat, array-bracket-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, eol-last, function-call-argument-newline, func-call-spacing, function-paren-newline, implicit-arrow-linebreak, indent, key-spacing, keyword-spacing, linebreak-style, lines-between-class-members, lines-around-directive, max-len, new-parens, newline-per-chained-call, no-mixed-operators, no-mixed-spaces-and-tabs, no-multiple-empty-lines, no-new-object, no-spaced-func, no-tabs, no-trailing-spaces, no-whitespace-before-property, nonblock-statement-body-position, object-curly-spacing, object-curly-newline, object-property-newline, one-var-declaration-per-line, operator-linebreak, padded-blocks, quote-props, quotes, semi, semi-spacing, semi-style, space-before-blocks, space-before-function-paren, space-in-parens, space-infix-ops, space-unary-ops, spaced-comment, switch-colon-spacing, template-tag-spacing, no-undef-init, comma-dangle
- Added 768 globals to the root config. This may happen when your ESLint config uses a different version of the
globalspackage than @oxlint/migrate. Try updatingglobalsand rerun the migration to get a simpler config.
airbnb/whitespace.json
"./node_modules/oxlint-config-presets/airbnb/whitespace.json"Extracted from [email protected].
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-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-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
These rules are enabled but their configuration options were dropped because oxlint's schema does not accept them. Only the severity level was kept.
import/no-cycle, jsx-a11y/anchor-has-content, react/jsx-no-duplicate-props
Not yet implemented in oxlint
no-unreachable-loop, no-restricted-syntax, one-var, import/no-extraneous-dependencies, import/no-useless-path-segments, import/no-import-module-exports, import/no-relative-packages, strict, react/jsx-no-bind, react/prefer-stateless-function, react/require-default-props, react/no-typos, react/destructuring-assignment, react/function-component-definition, react/no-arrow-function-lifecycle, react/no-invalid-html-attribute, react/jsx-no-bind, react/prefer-stateless-function, react/require-default-props, react/no-typos, react/destructuring-assignment, react/function-component-definition, react/no-arrow-function-lifecycle, react/no-invalid-html-attribute, strict, import/no-extraneous-dependencies, import/no-useless-path-segments, import/no-import-module-exports, import/no-relative-packages, no-restricted-syntax, one-var, no-unreachable-loop
Not portable to oxlint
dot-location, no-floating-decimal, no-multi-spaces, no-octal, no-octal-escape, no-return-await, wrap-iife, no-dupe-args, no-extra-semi, global-require, no-buffer-constructor, no-new-require, no-path-concat, array-bracket-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, eol-last, function-call-argument-newline, func-call-spacing, function-paren-newline, implicit-arrow-linebreak, indent, key-spacing, keyword-spacing, linebreak-style, lines-between-class-members, lines-around-directive, max-len, new-parens, newline-per-chained-call, no-mixed-operators, no-mixed-spaces-and-tabs, no-multiple-empty-lines, no-new-object, no-spaced-func, no-tabs, no-trailing-spaces, no-whitespace-before-property, nonblock-statement-body-position, object-curly-spacing, object-curly-newline, object-property-newline, one-var-declaration-per-line, operator-linebreak, padded-blocks, quote-props, quotes, semi, semi-spacing, semi-style, space-before-blocks, space-before-function-paren, space-in-parens, space-infix-ops, space-unary-ops, spaced-comment, switch-colon-spacing, template-tag-spacing, no-undef-init, arrow-parens, arrow-spacing, generator-star-spacing, no-confusing-arrow, no-new-symbol, rest-spread-spacing, template-curly-spacing, yield-star-spacing, import/no-unresolved, import/order, jsx-quotes, react/forbid-prop-types, react/jsx-closing-bracket-location, react/jsx-closing-tag-location, react/jsx-curly-spacing, react/jsx-indent-props, react/jsx-max-props-per-line, react/jsx-uses-react, react/jsx-uses-vars, react/no-deprecated, react/prop-types, react/sort-comp, react/jsx-wrap-multilines, react/jsx-first-prop-new-line, react/jsx-equals-spacing, react/jsx-indent, react/no-unused-prop-types, react/jsx-tag-spacing, react/forbid-foreign-prop-types, react/default-props-match-prop-types, react/no-unused-state, react/jsx-one-expression-per-line, react/no-access-state-in-setstate, react/jsx-props-no-multi-spaces, react/jsx-curly-newline, react/static-property-placement, react/prefer-exact-props, react/no-unused-class-component-methods, jsx-quotes, react/forbid-prop-types, react/jsx-uses-react, react/jsx-uses-vars, react/no-deprecated, react/prop-types, react/sort-comp, react/jsx-first-prop-new-line, react/no-unused-prop-types, react/default-props-match-prop-types, react/no-unused-state, react/no-access-state-in-setstate, react/jsx-props-no-multi-spaces, react/jsx-curly-newline, react/static-property-placement, react/prefer-exact-props, react/no-unused-class-component-methods, import/no-unresolved, import/order, arrow-parens, no-confusing-arrow, no-new-symbol, template-curly-spacing, yield-star-spacing, no-undef-init, brace-style, camelcase, comma-dangle, comma-style, function-call-argument-newline, lines-between-class-members, lines-around-directive, max-len, new-parens, no-mixed-operators, no-multiple-empty-lines, no-new-object, no-tabs, quote-props, quotes, semi, global-require, no-buffer-constructor, no-new-require, no-path-concat, no-dupe-args, no-extra-semi, no-floating-decimal, no-octal, no-octal-escape, no-return-await, wrap-iife
- react.version "detect" is not supported. Specify an explicit version (e.g., "18.2.0") in your oxlint config.
- Added 65 globals to the root config. This may happen when your ESLint config uses a different version of the
globalspackage than @oxlint/migrate. Try updatingglobalsand rerun the migration to get a simpler config.
Settings not migrated (not supported by oxlint):
import/resolverimport/extensionsimport/core-modulesimport/ignorereact.pragmapropWrapperFunctions
standard.json
"./node_modules/oxlint-config-presets/standard.json"Extracted from [email protected].
no-var, object-shorthand, accessor-pairs, array-callback-return, constructor-super, curly, default-case-last, eqeqeq, new-cap, no-array-constructor, no-async-promise-executor, no-caller, no-case-declarations, no-class-assign, no-compare-neg-zero, no-cond-assign, no-const-assign, no-constant-condition, no-control-regex, no-debugger, no-delete-var, no-dupe-class-members, no-dupe-keys, no-duplicate-case, no-useless-backreference, no-empty, no-empty-character-class, no-empty-pattern, no-eval, no-ex-assign, no-extend-native, no-extra-bind, no-extra-boolean-cast, no-fallthrough, no-func-assign, no-global-assign, no-implied-eval, no-import-assign, no-invalid-regexp, no-irregular-whitespace, no-iterator, no-labels, no-lone-blocks, no-loss-of-precision, no-misleading-character-class, no-prototype-builtins, no-useless-catch, no-multi-str, no-new, no-new-func, no-new-wrappers, no-obj-calls, no-proto, no-redeclare, no-regex-spaces, no-return-assign, no-self-assign, no-self-compare, no-sequences, no-shadow-restricted-names, no-sparse-arrays, no-template-curly-in-string, no-this-before-super, no-throw-literal, no-undef, no-unexpected-multiline, no-unmodified-loop-condition, no-unneeded-ternary, no-unreachable, no-unsafe-finally, no-unsafe-negation, no-unused-expressions, no-unused-vars, no-use-before-define, no-useless-call, no-useless-computed-key, no-useless-constructor, no-useless-escape, no-useless-rename, no-useless-return, no-void, no-with, prefer-const, prefer-promise-reject-errors, prefer-regex-literals, symbol-description, unicode-bom, use-isnan, valid-typeof, yoda, import/export, import/first, import/no-absolute-path, import/no-duplicates, import/no-named-default, import/no-webpack-loader-syntax, promise/param-names, node/handle-callback-err, node/no-exports-assign, node/no-new-require, node/no-path-concat, typescript/dot-notation
Not yet implemented in oxlint
no-unreachable-loop, one-var, n/no-callback-literal, n/no-deprecated-api, n/process-exit-as-throw
Not portable to oxlint
array-bracket-spacing, arrow-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, dot-location, eol-last, func-call-spacing, generator-star-spacing, indent, key-spacing, keyword-spacing, lines-between-class-members, multiline-ternary, new-parens, no-dupe-args, no-extra-parens, no-floating-decimal, no-mixed-operators, no-mixed-spaces-and-tabs, no-multi-spaces, no-multiple-empty-lines, no-new-object, no-new-symbol, no-octal, no-octal-escape, no-tabs, no-trailing-spaces, no-undef-init, no-whitespace-before-property, object-curly-newline, object-curly-spacing, object-property-newline, operator-linebreak, padded-blocks, quote-props, quotes, rest-spread-spacing, semi, semi-spacing, space-before-blocks, space-before-function-paren, space-in-parens, space-infix-ops, space-unary-ops, spaced-comment, template-curly-spacing, template-tag-spacing, wrap-iife, yield-star-spacing
- Added 68 globals to the root config. This may happen when your ESLint config uses a different version of the
globalspackage than @oxlint/migrate. Try updatingglobalsand rerun the migration to get a simpler config.
google.json
"./node_modules/oxlint-config-presets/google.json"Extracted from [email protected].
no-cond-assign, no-irregular-whitespace, no-unexpected-multiline, curly, guard-for-in, no-caller, no-extend-native, no-extra-bind, no-multi-str, no-new-wrappers, no-throw-literal, no-with, prefer-promise-reject-errors, no-unused-vars, new-cap, no-array-constructor, constructor-super, no-this-before-super, no-var, prefer-const, prefer-rest-params, prefer-spread
Not yet implemented in oxlint
valid-jsdoc, one-var, require-jsdoc
Not portable to oxlint
no-invalid-this, no-multi-spaces, array-bracket-spacing, block-spacing, brace-style, camelcase, comma-dangle, comma-spacing, comma-style, computed-property-spacing, eol-last, func-call-spacing, indent, key-spacing, keyword-spacing, linebreak-style, max-len, no-mixed-spaces-and-tabs, no-multiple-empty-lines, no-new-object, no-tabs, no-trailing-spaces, object-curly-spacing, operator-linebreak, padded-blocks, quote-props, quotes, semi, semi-spacing, space-before-blocks, space-before-function-paren, spaced-comment, switch-colon-spacing, arrow-parens, generator-star-spacing, no-new-symbol, rest-spread-spacing, yield-star-spacing
@typescript-eslint/recommended.json
"./node_modules/oxlint-config-presets/@typescript-eslint/recommended.json"Extracted from @typescript-eslint/[email protected].
no-array-constructor, no-unused-expressions, no-unused-vars, typescript/ban-ts-comment, typescript/no-duplicate-enum-values, typescript/no-empty-object-type, typescript/no-explicit-any, typescript/no-extra-non-null-assertion, typescript/no-misused-new, typescript/no-namespace, typescript/no-non-null-asserted-optional-chain, typescript/no-require-imports, typescript/no-this-alias, typescript/no-unnecessary-type-constraint, typescript/no-unsafe-declaration-merging, typescript/no-unsafe-function-type, typescript/no-wrapper-object-types, typescript/prefer-as-const, typescript/prefer-namespace-keyword, typescript/triple-slash-reference
@typescript-eslint/recommended-type-checked.json
"./node_modules/oxlint-config-presets/@typescript-eslint/recommended-type-checked.json"Extracted from @typescript-eslint/[email protected].
no-array-constructor, no-implied-eval, no-unused-expressions, no-unused-vars, no-throw-literal, prefer-promise-reject-errors, require-await, typescript/await-thenable, typescript/ban-ts-comment, typescript/no-array-delete, typescript/no-base-to-string, typescript/no-duplicate-enum-values, typescript/no-duplicate-type-constituents, typescript/no-empty-object-type, typescript/no-explicit-any, typescript/no-extra-non-null-assertion, typescript/no-floating-promises, typescript/no-for-in-array, typescript/no-implied-eval, typescript/no-misused-new, typescript/no-misused-promises, typescript/no-namespace, typescript/no-non-null-asserted-optional-chain, typescript/no-redundant-type-constituents, typescript/no-require-imports, typescript/no-this-alias, typescript/no-unnecessary-type-assertion, typescript/no-unnecessary-type-constraint, typescript/no-unsafe-argument, typescript/no-unsafe-assignment, typescript/no-unsafe-call, typescript/no-unsafe-declaration-merging, typescript/no-unsafe-enum-comparison, typescript/no-unsafe-function-type, typescript/no-unsafe-member-access, typescript/no-unsafe-return, typescript/no-unsafe-unary-minus, typescript/no-wrapper-object-types, typescript/only-throw-error, typescript/prefer-as-const, typescript/prefer-namespace-keyword, typescript/prefer-promise-reject-errors, typescript/require-await, typescript/restrict-plus-operands, typescript/restrict-template-expressions, typescript/triple-slash-reference, typescript/unbound-method
@typescript-eslint/strict.json
"./node_modules/oxlint-config-presets/@typescript-eslint/strict.json"Extracted from @typescript-eslint/[email protected].
no-array-constructor, no-unused-expressions, no-unused-vars, no-useless-constructor, typescript/ban-ts-comment, typescript/no-duplicate-enum-values, typescript/no-dynamic-delete, typescript/no-empty-object-type, typescript/no-explicit-any, typescript/no-extra-non-null-assertion, typescript/no-extraneous-class, typescript/no-invalid-void-type, typescript/no-misused-new, typescript/no-namespace, typescript/no-non-null-asserted-nullish-coalescing, typescript/no-non-null-asserted-optional-chain, typescript/no-non-null-assertion, typescript/no-require-imports, typescript/no-this-alias, typescript/no-unnecessary-type-constraint, typescript/no-unsafe-declaration-merging, typescript/no-unsafe-function-type, typescript/no-wrapper-object-types, typescript/prefer-as-const, typescript/prefer-literal-enum-member, typescript/prefer-namespace-keyword, typescript/triple-slash-reference, typescript/unified-signatures
@typescript-eslint/strict-type-checked.json
"./node_modules/oxlint-config-presets/@typescript-eslint/strict-type-checked.json"Extracted from @typescript-eslint/[email protected].
no-array-constructor, no-implied-eval, no-unused-expressions, no-unused-vars, no-useless-constructor, no-throw-literal, prefer-promise-reject-errors, require-await, typescript/await-thenable, typescript/ban-ts-comment, typescript/no-array-delete, typescript/no-base-to-string, typescript/no-confusing-void-expression, typescript/no-deprecated, typescript/no-duplicate-enum-values, typescript/no-duplicate-type-constituents, typescript/no-dynamic-delete, typescript/no-empty-object-type, typescript/no-explicit-any, typescript/no-extra-non-null-assertion, typescript/no-extraneous-class, typescript/no-floating-promises, typescript/no-for-in-array, typescript/no-implied-eval, typescript/no-invalid-void-type, typescript/no-meaningless-void-operator, typescript/no-misused-new, typescript/no-misused-promises, typescript/no-misused-spread, typescript/no-mixed-enums, typescript/no-namespace, typescript/no-non-null-asserted-nullish-coalescing, typescript/no-non-null-asserted-optional-chain, typescript/no-non-null-assertion, typescript/no-redundant-type-constituents, typescript/no-require-imports, typescript/no-this-alias, typescript/no-unnecessary-boolean-literal-compare, typescript/no-unnecessary-condition, typescript/no-unnecessary-template-expression, typescript/no-unnecessary-type-arguments, typescript/no-unnecessary-type-assertion, typescript/no-unnecessary-type-constraint, typescript/no-unnecessary-type-conversion, typescript/no-unnecessary-type-parameters, typescript/no-unsafe-argument, typescript/no-unsafe-assignment, typescript/no-unsafe-call, typescript/no-unsafe-declaration-merging, typescript/no-unsafe-enum-comparison, typescript/no-unsafe-function-type, typescript/no-unsafe-member-access, typescript/no-unsafe-return, typescript/no-unsafe-unary-minus, typescript/no-useless-default-assignment, typescript/no-wrapper-object-types, typescript/only-throw-error, typescript/prefer-as-const, typescript/prefer-literal-enum-member, typescript/prefer-namespace-keyword, typescript/prefer-promise-reject-errors, typescript/prefer-reduce-type-parameter, typescript/prefer-return-this-type, typescript/related-getter-setter-pairs, typescript/require-await, typescript/restrict-plus-operands, typescript/restrict-template-expressions, typescript/return-await, typescript/triple-slash-reference, typescript/unbound-method, typescript/unified-signatures, typescript/use-unknown-in-catch-callback-variable
@typescript-eslint/stylistic.json
"./node_modules/oxlint-config-presets/@typescript-eslint/stylistic.json"Extracted from @typescript-eslint/[email protected].
no-empty-function, typescript/adjacent-overload-signatures, typescript/array-type, typescript/ban-tslint-comment, typescript/class-literal-property-style, typescript/consistent-generic-constructors, typescript/consistent-indexed-object-style, typescript/consistent-type-assertions, typescript/consistent-type-definitions, typescript/no-confusing-non-null-assertion, typescript/no-inferrable-types, typescript/prefer-for-of, typescript/prefer-function-type
@typescript-eslint/stylistic-type-checked.json
"./node_modules/oxlint-config-presets/@typescript-eslint/stylistic-type-checked.json"Extracted from @typescript-eslint/[email protected].
no-empty-function, typescript/adjacent-overload-signatures, typescript/array-type, typescript/ban-tslint-comment, typescript/class-literal-property-style, typescript/consistent-generic-constructors, typescript/consistent-indexed-object-style, typescript/consistent-type-assertions, typescript/consistent-type-definitions, typescript/dot-notation, typescript/no-confusing-non-null-assertion, typescript/no-inferrable-types, typescript/non-nullable-type-assertion-style, typescript/prefer-find, typescript/prefer-for-of, typescript/prefer-function-type, typescript/prefer-includes, typescript/prefer-nullish-coalescing, typescript/prefer-optional-chain, typescript/prefer-regexp-exec, typescript/prefer-string-starts-ends-with
@typescript-eslint/all.json
"./node_modules/oxlint-config-presets/@typescript-eslint/all.json"Extracted from @typescript-eslint/[email protected].
class-methods-use-this, default-param-last, init-declarations, max-params, no-array-constructor, no-dupe-class-members, no-empty-function, no-implied-eval, no-loop-func, no-magic-numbers, no-redeclare, no-restricted-imports, no-shadow, no-unused-expressions, no-unused-private-class-members, no-unused-vars, no-use-before-define, no-useless-constructor, no-throw-literal, prefer-destructuring, prefer-promise-reject-errors, require-await, typescript/adjacent-overload-signatures, typescript/array-type, typescript/await-thenable, typescript/ban-ts-comment, typescript/ban-tslint-comment, typescript/class-literal-property-style, typescript/consistent-generic-constructors, typescript/consistent-indexed-object-style, typescript/consistent-return, typescript/consistent-type-assertions, typescript/consistent-type-definitions, typescript/consistent-type-exports, typescript/consistent-type-imports, typescript/dot-notation, typescript/explicit-function-return-type, typescript/explicit-member-accessibility, typescript/explicit-module-boundary-types, typescript/no-array-delete, typescript/no-base-to-string, typescript/no-confusing-non-null-assertion, typescript/no-confusing-void-expression, typescript/no-deprecated, typescript/no-duplicate-enum-values, typescript/no-duplicate-type-constituents, typescript/no-dynamic-delete, typescript/no-empty-object-type, typescript/no-explicit-any, typescript/no-extra-non-null-assertion, typescript/no-extraneous-class, typescript/no-floating-promises, typescript/no-for-in-array, typescript/no-implied-eval, typescript/no-import-type-side-effects, typescript/no-inferrable-types, typescript/no-invalid-void-type, typescript/no-meaningless-void-operator, typescript/no-misused-new, typescript/no-misused-promises, typescript/no-misused-spread, typescript/no-mixed-enums, typescript/no-namespace, typescript/no-non-null-asserted-nullish-coalescing, typescript/no-non-null-asserted-optional-chain, typescript/no-non-null-assertion, typescript/no-redundant-type-constituents, typescript/no-require-imports, typescript/no-restricted-types, typescript/no-this-alias, typescript/no-unnecessary-boolean-literal-compare, typescript/no-unnecessary-condition, typescript/no-unnecessary-parameter-property-assignment, typescript/no-unnecessary-qualifier, typescript/no-unnecessary-template-expression, typescript/no-unnecessary-type-arguments, typescript/no-unnecessary-type-assertion, typescript/no-unnecessary-type-constraint, typescript/no-unnecessary-type-conversion, typescript/no-unnecessary-type-parameters, typescript/no-unsafe-argument, typescript/no-unsafe-assignment, typescript/no-unsafe-call, typescript/no-unsafe-declaration-merging, typescript/no-unsafe-enum-comparison, typescript/no-unsafe-function-type, typescript/no-unsafe-member-access, typescript/no-unsafe-return, typescript/no-unsafe-type-assertion, typescript/no-unsafe-unary-minus, typescript/no-useless-default-assignment, typescript/no-useless-empty-export, typescript/no-wrapper-object-types, typescript/non-nullable-type-assertion-style, typescript/only-throw-error, typescript/parameter-properties, typescript/prefer-as-const, typescript/prefer-enum-initializers, typescript/prefer-find, typescript/prefer-for-of, typescript/prefer-function-type, typescript/prefer-includes, typescript/prefer-literal-enum-member, typescript/prefer-namespace-keyword, typescript/prefer-nullish-coalescing, typescript/prefer-optional-chain, typescript/prefer-promise-reject-errors, typescript/prefer-readonly, typescript/prefer-readonly-parameter-types, typescript/prefer-reduce-type-parameter, typescript/prefer-regexp-exec, typescript/prefer-return-this-type, typescript/prefer-string-starts-ends-with, typescript/promise-function-async, typescript/related-getter-setter-pairs, typescript/require-array-sort-compare, typescript/require-await, typescript/restrict-plus-operands, typescript/restrict-template-expressions, typescript/return-await, typescript/strict-boolean-expressions, typescript/strict-void-return, typescript/switch-exhaustiveness-check, typescript/triple-slash-reference, typescript/unbound-method, typescript/unified-signatures, typescript/use-unknown-in-catch-callback-variable
Not yet implemented in oxlint
@typescript-eslint/member-ordering, @typescript-eslint/method-signature-style, @typescript-eslint/naming-convention, @typescript-eslint/no-unused-private-class-members, @typescript-eslint/prefer-destructuring
Not portable to oxlint
@typescript-eslint/no-invalid-this
@eslint/recommended.json
"./node_modules/oxlint-config-presets/@eslint/recommended.json"Extracted from @eslint/[email protected].
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
Not portable to oxlint
no-dupe-args, no-octal
@eslint/all.json
"./node_modules/oxlint-config-presets/@eslint/all.json"Extracted from @eslint/[email protected].
accessor-pairs, array-callback-return, arrow-body-style, block-scoped-var, capitalized-comments, class-methods-use-this, complexity, constructor-super, curly, default-case, default-case-last, default-param-last, eqeqeq, for-direction, func-name-matching, func-names, func-style, getter-return, grouped-accessor-pairs, guard-for-in, id-length, id-match, init-declarations, logical-assignment-operators, max-classes-per-file, max-depth, max-lines, max-lines-per-function, max-nested-callbacks, max-params, max-statements, new-cap, no-alert, no-array-constructor, no-async-promise-executor, no-await-in-loop, no-bitwise, no-caller, no-case-declarations, no-class-assign, no-compare-neg-zero, no-cond-assign, no-console, no-const-assign, no-constant-binary-expression, no-constant-condition, no-constructor-return, no-continue, no-control-regex, no-debugger, no-delete-var, no-div-regex, no-dupe-class-members, no-dupe-else-if, no-dupe-keys, no-duplicate-case, no-duplicate-imports, no-else-return, no-empty, no-empty-character-class, no-empty-function, no-empty-pattern, no-empty-static-block, no-eq-null, no-eval, no-ex-assign, no-extend-native, no-extra-bind, no-extra-boolean-cast, no-extra-label, no-fallthrough, no-func-assign, no-global-assign, no-implicit-coercion, no-implicit-globals, no-implied-eval, no-import-assign, no-inline-comments, no-inner-declarations, no-invalid-regexp, no-irregular-whitespace, no-iterator, no-label-var, no-labels, no-lone-blocks, no-lonely-if, no-loop-func, no-loss-of-precision, no-magic-numbers, no-misleading-character-class, no-multi-assign, no-multi-str, no-negated-condition, no-nested-ternary, no-new, no-new-func, no-new-native-nonconstructor, no-new-wrappers, no-nonoctal-decimal-escape, no-obj-calls, no-object-constructor, no-param-reassign, no-plusplus, no-promise-executor-return, no-proto, no-prototype-builtins, no-redeclare, no-regex-spaces, no-restricted-exports, no-restricted-globals, no-restricted-imports, no-restricted-properties, no-return-assign, no-script-url, no-self-assign, no-self-compare, no-sequences, no-setter-return, no-shadow, no-shadow-restricted-names, no-sparse-arrays, no-template-curly-in-string, no-ternary, no-this-before-super, `no-throw-lit
