Announcing Oxfmt Beta 版
Skip to content
Main Navigation
指南
工具
代码检查工具 (Oxlint)
格式化工具 (Oxfmt)
解析器 (Parser)
转换器 (Transformer)
代码压缩工具 (Minifier)
模块解析器 (Resolver)
贡献指南
在线演练场
赞助
资源
发布博客
用户推荐
学习
团队
发布版本
网站 GitHub
Search
⌘
Ctrl
K
Appearance
Menu
Return to top
On this page
Are you an LLM? You can read better optimized documentation at /docs/guide/usage/linter/rules.md for this page in Markdown format
规则
所有规则的实现进度在
此处
进行跟踪。
规则总数:695
默认开启的规则:108
可自动修复的规则:245
“可修复?” 列的图例
🛠️:此规则有可用的自动修复功能
💡:此规则有可用的建议
⚠️🛠️:此规则有可用的危险自动修复功能
⚠️💡:此规则有可用的危险建议
🚧:理论上可以实现自动修复或建议,但目前尚未实现
Category
All
Correctness
Nursery
Pedantic
Perf
Restriction
Style
Suspicious
Source/Plugin
All
eslint
import
jest
jsdoc
jsx-a11y
nextjs
node
oxc
promise
react
react-perf
typescript
unicorn
vitest
vue
Include type-aware rules
Has fix available
Rule name
▲
Source
Category
Default
Fixable?
accessor-pairs
eslint
pedantic
adjacent-overload-signatures
typescript
style
alt-text
jsx-a11y
correctness
always-return
promise
suspicious
anchor-ambiguous-text
jsx-a11y
restriction
anchor-has-content
jsx-a11y
correctness
💡
anchor-is-valid
jsx-a11y
correctness
approx-constant
oxc
suspicious
💡
aria-activedescendant-has-tabindex
jsx-a11y
correctness
aria-props
jsx-a11y
correctness
🛠️
aria-proptypes
jsx-a11y
correctness
aria-role
jsx-a11y
correctness
aria-unsupported-elements
jsx-a11y
correctness
🛠️
array-callback-return
eslint
pedantic
🚧
array-type
typescript
style
🛠️
arrow-body-style
eslint
style
🛠️
autocomplete-valid
jsx-a11y
correctness
avoid-new
promise
style
await-thenable
💭
typescript
correctness
✅
💡
bad-array-method-on-arguments
oxc
correctness
✅
bad-bitwise-operator
oxc
restriction
💡
bad-char-at-comparison
oxc
correctness
✅
bad-comparison-sequence
oxc
correctness
✅
bad-min-max-func
oxc
correctness
✅
bad-object-literal-comparison
oxc
correctness
✅
bad-replace-all-arg
oxc
correctness
✅
ban-ts-comment
typescript
pedantic
🛠️
ban-tslint-comment
typescript
style
🛠️
ban-types
typescript
pedantic
block-scoped-var
eslint
suspicious
branches-sharing-code
oxc
nursery
button-has-type
react
restriction
capitalized-comments
eslint
style
🛠️
catch-error-name
unicorn
style
🛠️
catch-or-return
promise
restriction
check-access
jsdoc
restriction
check-property-names
jsdoc
correctness
🚧
check-tag-names
jsdoc
correctness
🚧
checked-requires-onchange-or-readonly
react
pedantic
class-literal-property-style
typescript
style
🚧
class-methods-use-this
eslint
restriction
click-events-have-key-events
jsx-a11y
correctness
complexity
eslint
restriction
consistent-assert
unicorn
pedantic
🛠️
consistent-date-clone
unicorn
style
🛠️
consistent-each-for
vitest
correctness
consistent-empty-array-spread
unicorn
pedantic
💡
consistent-existence-index-check
unicorn
style
🛠️
consistent-function-scoping
unicorn
suspicious
🚧
consistent-generic-constructors
typescript
style
🛠️
consistent-indexed-object-style
typescript
style
🛠️
consistent-return
💭
typescript
nursery
consistent-test-filename
vitest
style
consistent-test-it
jest
style
🛠️
consistent-type-assertions
typescript
style
🛠️💡
consistent-type-definitions
typescript
style
⚠️🛠️
consistent-type-exports
💭
typescript
nursery
consistent-type-imports
typescript
style
🛠️
consistent-type-specifier-style
import
style
🛠️
consistent-vitest-vi
vitest
style
🛠️
const-comparisons
oxc
correctness
✅
constructor-super
eslint
correctness
✅
curly
eslint
style
🛠️
default
import
correctness
default-case
eslint
restriction
default-case-last
eslint
style
default-param-last
eslint
style
define-emits-declaration
vue
style
🚧
define-props-declaration
vue
style
define-props-destructuring
vue
style
display-name
react
pedantic
dot-notation
💭
typescript
nursery
double-comparisons
oxc
correctness
✅
🛠️
empty-brace-spaces
unicorn
style
🛠️
empty-tags
jsdoc
restriction
🚧
eqeqeq
eslint
pedantic
⚠️🛠️
erasing-op
oxc
correctness
✅
⚠️🛠️
error-message
unicorn
style
escape-case
unicorn
pedantic
🛠️
exhaustive-deps
react
correctness
⚠️🛠️💡
expect-expect
jest
correctness
explicit-function-return-type
typescript
restriction
explicit-length-check
unicorn
pedantic
🛠️
explicit-module-boundary-types
typescript
restriction
export
import
nursery
exports-last
import
style
extensions
import
restriction
filename-case
unicorn
style
first
import
style
🚧
for-direction
eslint
correctness
✅
⚠️🛠️
forbid-dom-props
react
restriction
forbid-elements
react
restriction
forward-ref-uses-ref
react
correctness
💡
func-names
eslint
style
🛠️💡
func-style
eslint
style
🚧
getter-return
eslint
nursery
global-require
node
style
google-font-display
nextjs
correctness
google-font-preconnect
nextjs
correctness
group-exports
import
style
grouped-accessor-pairs
eslint
style
🚧
guard-for-in
eslint
style
heading-has-content
jsx-a11y
correctness
hoisted-apis-on-top
vitest
correctness
💡
html-has-lang
jsx-a11y
correctness
id-length
eslint
style
iframe-has-title
jsx-a11y
correctness
iframe-missing-sandbox
react
suspicious
🚧
img-redundant-alt
jsx-a11y
correctness
implements-on-classes
jsdoc
correctness
init-declarations
eslint
style
inline-script-id
nextjs
correctness
jsx-boolean-value
react
style
🛠️
jsx-curly-brace-presence
react
style
🛠️
jsx-filename-extension
react
restriction
🚧
jsx-fragments
react
style
🛠️
jsx-handler-names
react
style
jsx-key
react
correctness
jsx-max-depth
react
style
jsx-no-comment-textnodes
react
suspicious
jsx-no-constructed-context-values
react
perf
jsx-no-duplicate-props
react
correctness
jsx-no-jsx-as-prop
react-perf
perf
jsx-no-new-array-as-prop
react-perf
perf
jsx-no-new-function-as-prop
react-perf
perf
jsx-no-new-object-as-prop
react-perf
perf
jsx-no-script-url
react
suspicious
🚧
jsx-no-target-blank
react
pedantic
🚧
jsx-no-undef
react
correctness
jsx-no-useless-fragment
react
pedantic
💡
jsx-pascal-case
react
style
jsx-props-no-spread-multi
react
correctness
🛠️
jsx-props-no-spreading
react
style
label-has-associated-control
jsx-a11y
correctness
lang
jsx-a11y
correctness
max-classes-per-file
eslint
pedantic
max-dependencies
import
pedantic
max-depth
eslint
pedantic
max-expects
jest
style
max-lines
eslint
pedantic
max-lines-per-function
eslint
pedantic
max-nested-callbacks
eslint
pedantic
max-nested-describe
jest
style
max-params
eslint
style
max-props
vue
restriction
max-statements
eslint
style
media-has-caption
jsx-a11y
correctness
misrefactored-assign-op
oxc
suspicious
💡
missing-throw
oxc
correctness
✅
💡
mouse-events-have-key-events
jsx-a11y
correctness
named
import
nursery
namespace
import
correctness
new-cap
eslint
style
🚧
new-for-builtins
unicorn
pedantic
🚧
next-script-for-ga
nextjs
correctness
no-absolute-path
import
suspicious
🚧
no-abusive-eslint-disable
unicorn
restriction
no-access-key
jsx-a11y
correctness
💡
no-accessor-recursion
unicorn
suspicious
no-accumulating-spread
oxc
perf
no-alert
eslint
restriction
no-alias-methods
jest
style
🛠️
no-amd
import
restriction
no-anonymous-default-export
import
style
no-anonymous-default-export
unicorn
restriction
🚧
no-aria-hidden-on-focusable
jsx-a11y
correctness
🛠️
no-array-callback-reference
unicorn
pedantic
🚧
no-array-constructor
eslint
pedantic
🛠️
no-array-delete
💭
typescript
correctness
✅
💡
no-array-for-each
unicorn
restriction
🚧
no-array-index-key
react
perf
no-array-method-this-argument
unicorn
style
🚧
no-array-reduce
unicorn
restriction
no-array-reverse
unicorn
suspicious
🛠️
no-array-sort
unicorn
suspicious
🛠️
no-arrow-functions-in-watch
vue
correctness
no-assign-module-variable
nextjs
correctness
no-async-await
oxc
restriction
no-async-client-component
nextjs
correctness
no-async-endpoint-handlers
oxc
suspicious
no-async-promise-executor
eslint
correctness
✅
no-autofocus
jsx-a11y
correctness
💡
no-await-expression-member
unicorn
style
⚠️🛠️
no-await-in-loop
eslint
perf
no-await-in-promise-methods
unicorn
correctness
✅
💡
no-barrel-file
oxc
restriction
no-base-to-string
💭
typescript
correctness
✅
no-before-interactive-script-outside-document
nextjs
correctness
no-bitwise
eslint
restriction
no-callback-in-promise
promise
correctness
no-caller
eslint
correctness
✅
no-case-declarations
eslint
pedantic
🚧
no-children-prop
react
correctness
no-class-assign
eslint
correctness
✅
no-commented-out-tests
jest
suspicious
no-commonjs
import
restriction
no-compare-neg-zero
eslint
correctness
✅
🛠️💡
no-cond-assign
eslint
correctness
✅
no-conditional-expect
jest
correctness
no-conditional-in-test
jest
pedantic
no-conditional-tests
vitest
correctness
no-confusing-non-null-assertion
typescript
suspicious
🚧
no-confusing-set-timeout
jest
style
no-confusing-void-expression
💭
typescript
pedantic
🛠️💡
no-console
eslint
restriction
💡
no-console-spaces
unicorn
style
🛠️
no-const-assign
eslint
correctness
✅
no-const-enum
oxc
restriction
🛠️
no-constant-binary-expression
eslint
correctness
✅
no-constant-condition
eslint
correctness
✅
no-constructor-return
eslint
pedantic
no-continue
eslint
style
no-control-regex
eslint
correctness
✅
no-css-tags
nextjs
correctness
no-cycle
import
restriction
no-danger
react
restriction
no-danger-with-children
react
correctness
no-debugger
eslint
correctness
✅
🛠️
no-default-export
import
restriction
no-defaults
jsdoc
correctness
🚧
no-delete-var
eslint
correctness
✅
no-deprecated
💭
typescript
pedantic
no-deprecated-destroyed-lifecycle
vue
correctness
🛠️
no-deprecated-functions
jest
style
🛠️
no-did-mount-set-state
react
correctness
no-direct-mutation-state
react
correctness
no-disabled-tests
jest
correctness
no-distracting-elements
jsx-a11y
correctness
no-div-regex
eslint
restriction
🛠️
no-document-cookie
unicorn
restriction
no-document-import-in-page
nextjs
correctness
no-done-callback
jest
style
🚧
no-dupe-class-members
eslint
correctness
✅
no-dupe-else-if
eslint
correctness
✅
no-dupe-keys
eslint
correctness
✅
no-duplicate-case
eslint
correctness
✅
no-duplicate-enum-values
typescript
correctness
✅
no-duplicate-head
nextjs
correctness
no-duplicate-hooks
jest
style
no-duplicate-imports
eslint
style
🚧
no-duplicate-type-constituents
💭
typescript
correctness
✅
🛠️
no-duplicates
import
style
no-dynamic-delete
typescript
restriction
no-dynamic-require
import
restriction
no-else-return
eslint
pedantic
🛠️
no-empty
eslint
restriction
💡
no-empty-character-class
eslint
correctness
✅
no-empty-file
unicorn
correctness
✅
no-empty-function
eslint
restriction
🚧
no-empty-interface
typescript
style
🚧
no-empty-named-blocks
import
suspicious
🛠️
no-empty-object-type
typescript
restriction
🚧
no-empty-pattern
eslint
correctness
✅
no-empty-static-block
eslint
correctness
✅
💡
no-eq-null
eslint
restriction
⚠️🛠️
no-eval
eslint
correctness
✅
no-ex-assign
eslint
correctness
✅
no-explicit-any
typescript
restriction
🛠️
no-export
jest
correctness
no-export-in-script-setup
vue
correctness
no-exports-assign
node
style
🛠️
no-extend-native
eslint
suspicious
no-extra-bind
eslint
suspicious
🚧
no-extra-boolean-cast
eslint
correctness
✅
🛠️💡
no-extra-label
eslint
style
🛠️
no-extra-non-null-assertion
typescript
correctness
✅
🚧
no-extraneous-class
typescript
suspicious
⚠️💡
no-fallthrough
eslint
pedantic
🚧
no-find-dom-node
react
correctness
no-floating-promises
💭
typescript
correctness
✅
💡
no-focused-tests
jest
correctness
🛠️
no-for-in-array
💭
typescript
correctness
✅
no-func-assign
eslint
correctness
✅
no-global-assign
eslint
correctness
✅
no-head-element
nextjs
correctness
no-head-import-in-document
nextjs
correctness
no-hex-escape
unicorn
pedantic
🛠️
no-hooks
jest
style
no-html-link-for-pages
nextjs
correctness
no-identical-title
jest
style
no-img-element
nextjs
correctness
🚧
no-immediate-mutation
unicorn
pedantic
🚧
no-implicit-coercion
eslint
style
🛠️
no-implied-eval
💭
typescript
correctness
✅
no-import-assign
eslint
correctness
✅
no-import-compiler-macros
vue
restriction
⚠️🛠️
no-import-node-test
vitest
style
💡
no-import-type-side-effects
typescript
restriction
🛠️
no-importing-vitest-globals
vitest
style
🛠️
no-inferrable-types
typescript
style
💡
no-inline-comments
eslint
pedantic
no-inner-declarations
eslint
pedantic
no-instanceof-array
unicorn
pedantic
🛠️
no-instanceof-builtins
unicorn
suspicious
💡
no-interpolation-in-snapshots
jest
style
no-invalid-fetch-options
unicorn
correctness
✅
no-invalid-regexp
eslint
correctness
✅
no-invalid-remove-event-listener
unicorn
correctness
✅
no-invalid-void-type
typescript
restriction
no-irregular-whitespace
eslint
correctness
✅
no-is-mounted
react
correctness
no-iterator
eslint
correctness
✅
💡
no-jasmine-globals
jest
style
🛠️
no-label-var
eslint
style
no-labels
eslint
style
no-large-snapshots
jest
style
no-length-as-slice-end
unicorn
restriction
🛠️
no-lifecycle-after-await
vue
correctness
no-lone-blocks
eslint
style
no-lonely-if
eslint
pedantic
🚧
no-lonely-if
unicorn
pedantic
🚧
no-loop-func
eslint
pedantic
no-loss-of-precision
eslint
correctness
✅
no-magic-array-flat-depth
unicorn
restriction
no-magic-numbers
eslint
style
🚧
no-map-spread
oxc
perf
🛠️💡
no-meaningless-void-operator
💭
typescript
correctness
✅
🛠️💡
no-misleading-character-class
eslint
correctness
✅
🚧
no-misused-new
typescript
correctness
✅
no-misused-promises
💭
typescript
pedantic
no-misused-spread
💭
typescript
correctness
✅
💡
no-mixed-enums
💭
typescript
pedantic
no-mocks-import
jest
style
no-multi-assign
eslint
style
no-multi-comp
react
restriction
no-multi-str
eslint
style
no-multiple-resolved
promise
suspicious
no-multiple-slot-args
vue
restriction
🚧
no-mutable-exports
import
style
no-named-as-default
import
suspicious
no-named-as-default-member
import
suspicious
no-named-default
import
style
no-named-export
import
style
no-namespace
import
style
🚧
no-namespace
react
suspicious
no-namespace
typescript
restriction
no-negated-condition
eslint
pedantic
🚧
no-negation-in-equality-check
unicorn
pedantic
💡
no-nested-ternary
eslint
style
no-nested-ternary
unicorn
style
🛠️
no-nesting
promise
style
🚧
no-new
eslint
suspicious
no-new-array
unicorn
correctness
✅
🚧
no-new-buffer
unicorn
pedantic
💡
no-new-func
eslint
style
no-new-native-nonconstructor
eslint
correctness
✅
no-new-require
node
restriction
no-new-statics
promise
correctness
🛠️
no-new-wrappers
eslint
pedantic
🛠️
no-nodejs-modules
import
style
no-non-null-asserted-nullish-coalescing
typescript
restriction
🚧
no-non-null-asserted-optional-chain
typescript
correctness
✅
💡
no-non-null-assertion
typescript
restriction
🚧
no-noninteractive-tabindex
jsx-a11y
correctness
no-nonoctal-decimal-escape
eslint
correctness
✅
💡
no-null
unicorn
style
⚠️🛠️
no-obj-calls
eslint
correctness
✅
no-object-as-default-parameter
unicorn
pedantic
no-object-constructor
eslint
pedantic
🚧
no-optional-chaining
oxc
restriction
no-page-custom-font
nextjs
correctness
no-param-reassign
eslint
restriction
no-path-concat
node
restriction
no-plusplus
eslint
restriction
💡
no-process-env
node
restriction
no-process-exit
unicorn
restriction
🚧
no-promise-executor-return
eslint
pedantic
🚧
no-promise-in-callback
promise
suspicious
no-proto
eslint
restriction
🚧
no-prototype-builtins
eslint
pedantic
🚧
no-redeclare
eslint
pedantic
no-redundant-roles
jsx-a11y
correctness
🛠️
no-redundant-should-component-update
react
style
no-redundant-type-constituents
💭
typescript
correctness
✅
no-regex-spaces
eslint
restriction
🛠️
no-relative-parent-imports
import
restriction
no-render-return-value
react
correctness
no-require-imports
typescript
restriction
🚧
no-required-prop-with-default
vue
suspicious
💡
no-rest-spread-properties
oxc
restriction
no-restricted-globals
eslint
restriction
no-restricted-imports
eslint
restriction
no-restricted-jest-methods
jest
style
no-restricted-matchers
jest
style
no-restricted-types
typescript
restriction
🛠️💡
no-return-assign
eslint
style
no-return-in-finally
promise
nursery
no-return-wrap
promise
style
🚧
no-script-component-in-head
nextjs
correctness
no-script-url
eslint
style
no-self-assign
eslint
correctness
✅
no-self-compare
eslint
pedantic
no-self-import
import
suspicious
no-sequences
eslint
restriction
no-set-state
react
style
no-setter-return
eslint
correctness
✅
no-shadow
eslint
suspicious
no-shadow-restricted-names
eslint
correctness
✅
no-single-promise-in-promise-methods
unicorn
correctness
✅
🛠️
no-sparse-arrays
eslint
correctness
✅
no-standalone-expect
jest
correctness
no-static-element-interactions
jsx-a11y
correctness
no-static-only-class
unicorn
pedantic
⚠️🛠️
no-string-refs
react
correctness
no-styled-jsx-in-document
nextjs
correctness
no-sync-scripts
nextjs
correctness
no-template-curly-in-string
eslint
style
no-ternary
eslint
style
no-test-prefixes
jest
style
🛠️
no-test-return-statement
jest
style
no-thenable
unicorn
correctness
✅
no-this-alias
typescript
correctness
✅
no-this-assignment
unicorn
pedantic
no-this-before-super
eslint
correctness
✅
no-this-in-before-route-enter
vue
correctness
no-this-in-exported-function
oxc
suspicious
no-this-in-sfc
react
correctness
no-throw-literal
eslint
pedantic
💡
no-title-in-document-head
nextjs
correctness
no-typeof-undefined
unicorn
pedantic
🛠️💡
no-typos
nextjs
correctness
🚧
no-unassigned-import
import
suspicious
no-unassigned-vars
eslint
correctness
✅
no-undef
eslint
nursery
no-undefined
eslint
restriction
no-unescaped-entities
react
pedantic
🚧
no-unexpected-multiline
eslint
suspicious
⚠️🛠️
no-unknown-property
react
restriction
🚧
no-unmodified-loop-condition
eslint
suspicious
no-unnecessary-array-flat-depth
unicorn
pedantic
💡
no-unnecessary-array-splice-count
unicorn
pedantic
🛠️
no-unnecessary-await
unicorn
correctness
✅
🛠️
no-unnecessary-boolean-literal-compare
💭
typescript
suspicious
🚧
no-unnecessary-condition
💭
typescript
nursery
no-unnecessary-parameter-property-assignment
typescript
correctness
✅
💡
no-unnecessary-qualifier
💭
typescript
nursery
no-unnecessary-slice-end
unicorn
pedantic
🛠️
no-unnecessary-template-expression
💭
typescript
suspicious
🚧
no-unnecessary-type-arguments
💭
typescript
suspicious
🛠️
no-unnecessary-type-assertion
💭
typescript
suspicious
🛠️
no-unnecessary-type-constraint
typescript
suspicious
🚧
no-unnecessary-type-parameters
💭
typescript
nursery
no-unneeded-async-expect-function
jest
style
🛠️
no-unneeded-ternary
eslint
suspicious
⚠️🛠️
no-unreachable
eslint
nursery
no-unreadable-array-destructuring
unicorn
style
🚧
no-unreadable-iife
unicorn
pedantic
no-unsafe
react
correctness
no-unsafe-argument
💭
typescript
pedantic
no-unsafe-assignment
💭
typescript
pedantic
no-unsafe-call
💭
typescript
pedantic
no-unsafe-declaration-merging
typescript
correctness
✅
no-unsafe-enum-comparison
💭
typescript
suspicious
🚧
no-unsafe-finally
eslint
correctness
✅
no-unsafe-function-type
typescript
pedantic
no-unsafe-member-access
💭
typescript
pedantic
no-unsafe-negation
eslint
correctness
✅
🛠️
no-unsafe-optional-chaining
eslint
correctness
✅
no-unsafe-return
💭
typescript
pedantic
no-unsafe-type-assertion
💭
typescript
suspicious
no-unsafe-unary-minus
💭
typescript
correctness
✅
no-untyped-mock-factory
jest
style
🛠️
no-unused-expressions
eslint
correctness
✅
no-unused-labels
eslint
correctness
✅
🛠️
no-unused-private-class-members
eslint
correctness
✅
no-unused-vars
eslint
correctness
✅
⚠️💡
no-unwanted-polyfillio
nextjs
correctness
no-use-before-define
eslint
restriction
no-useless-backreference
eslint
correctness
✅
no-useless-call
eslint
perf
no-useless-catch
eslint
correctness
✅
no-useless-collection-argument
unicorn
style
💡
no-useless-computed-key
eslint
style
🚧
no-useless-concat
eslint
suspicious
no-useless-constructor
eslint
suspicious
🛠️
no-useless-default-assignment
💭
typescript
nursery
no-useless-empty-export
typescript
correctness
✅
🛠️
no-useless-error-capture-stack-trace
unicorn
restriction
💡
no-useless-escape
eslint
correctness
✅
🛠️
no-useless-fallback-in-spread
unicorn
correctness
✅
🛠️
no-useless-length-check
unicorn
correctness
✅
🚧
no-useless-promise-resolve-reject
unicorn
pedantic
🛠️
no-useless-rename
eslint
correctness
✅
🛠️
no-useless-return
eslint
pedantic
🚧
no-useless-spread
unicorn
correctness
✅
⚠️🛠️
no-useless-switch-case
unicorn
pedantic
🚧
no-useless-undefined
unicorn
pedantic
🛠️
no-var
eslint
restriction
🛠️
no-var-requires
typescript
restriction
no-void
eslint
restriction
💡
no-warning-comments
eslint
pedantic
no-webpack-loader-syntax
import
restriction
no-will-update-set-state
react
correctness
no-with
eslint
correctness
✅
no-wrapper-object-types
typescript
correctness
✅
🛠️
no-zero-fractions
unicorn
style
🛠️
non-nullable-type-assertion-style
💭
typescript
restriction
🛠️
number-arg-out-of-range
oxc
correctness
✅
number-literal-case
unicorn
style
🛠️
numeric-separators-style
unicorn
style
🛠️
only-export-components
react
restriction
only-throw-error
💭
typescript
pedantic
only-used-in-recursion
oxc
correctness
✅
⚠️🛠️
operator-assignment
eslint
style
⚠️🛠️
padding-around-test-blocks
jest
style
🛠️
param-names
promise
style
parameter-properties
typescript
style
prefer-add-event-listener
unicorn
suspicious
🚧
prefer-array-find
unicorn
perf
🚧
prefer-array-flat
unicorn
pedantic
⚠️🛠️
prefer-array-flat-map
unicorn
perf
🛠️
prefer-array-index-of
unicorn
style
🚧
prefer-array-some
unicorn
pedantic
🛠️
prefer-as-const
typescript
correctness
✅
🛠️
prefer-at
unicorn
pedantic
⚠️🛠️
prefer-await-to-callbacks
promise
style
prefer-await-to-then
promise
style
prefer-bigint-literals
unicorn
style
🛠️
prefer-blob-reading-methods
unicorn
pedantic
🚧
prefer-called-once
vitest
style
🛠️
prefer-called-times
vitest
style
🛠️
prefer-called-with
jest
style
🛠️
prefer-catch
promise
style
🚧
prefer-class-fields
unicorn
style
🛠️💡
prefer-classlist-toggle
unicorn
style
🛠️
prefer-code-point
unicorn
pedantic
🛠️
prefer-comparison-matcher
jest
style
🛠️
prefer-const
eslint
style
🛠️
prefer-date-now
unicorn
pedantic
🛠️
prefer-default-export
import
style
prefer-default-parameters
unicorn
style
🚧
prefer-describe-function-title
vitest
style
🛠️
prefer-destructuring
eslint
style
🛠️
prefer-dom-node-append
unicorn
pedantic
🛠️
prefer-dom-node-dataset
unicorn
pedantic
🛠️
prefer-dom-node-remove
unicorn
pedantic
🚧
prefer-dom-node-text-content
unicorn
style
🛠️
prefer-each
jest
style
prefer-enum-initializers
typescript
pedantic
💡
prefer-equality-matcher
jest
style
🚧
prefer-es6-class
react
style
prefer-event-target
unicorn
pedantic
prefer-expect-resolves
jest
style
🛠️
prefer-expect-type-of
vitest
style
🛠️
prefer-exponentiation-operator
eslint
style
🛠️
prefer-find
💭
typescript
nursery
prefer-for-of
typescript
style
🚧
prefer-function-type
typescript
style
🛠️
prefer-global-this
unicorn
style
💡
prefer-hooks-in-order
jest
style
prefer-hooks-on-top
jest
style
prefer-import-from-vue
vue
correctness
🛠️
prefer-import-in-mock
vitest
style
🛠️
prefer-includes
💭
typescript
pedantic
🛠️
prefer-includes
unicorn
style
💡
prefer-jest-mocked
jest
style
🛠️
prefer-keyboard-event-key
unicorn
style
🛠️
prefer-literal-enum-member
typescript
restriction
prefer-logical-operator-over-ternary
unicorn
style
💡
prefer-lowercase-title
jest
style
🛠️
prefer-math-min-max
unicorn
pedantic
🛠️
prefer-math-trunc
unicorn
pedantic
💡
prefer-mock-promise-shorthand
jest
style
🛠️
prefer-mock-return-shorthand
jest
style
🛠️
prefer-modern-dom-apis
unicorn
style
💡
prefer-modern-math-apis
unicorn
restriction
🚧
prefer-module
unicorn
restriction
🚧
prefer-namespace-keyword
typescript
correctness
✅
🛠️
prefer-native-coercion-functions
unicorn
pedantic
🚧
prefer-negative-index
unicorn
style
🛠️
prefer-node-protocol
unicorn
restriction
🛠️
prefer-nullish-coalescing
💭
typescript
pedantic
🛠️
prefer-number-properties
unicorn
restriction
⚠️🛠️
prefer-numeric-literals
eslint
style
🛠️
prefer-object-from-entries
unicorn
style
🚧
prefer-object-has-own
eslint
style
🛠️
prefer-object-spread
eslint
style
🛠️
prefer-optional-catch-binding
unicorn
style
🛠️
prefer-optional-chain
💭
typescript
nursery
⚠️🛠️💡
prefer-promise-reject-errors
eslint
style
prefer-promise-reject-errors
💭
typescript
pedantic
prefer-prototype-methods
unicorn
pedantic
🛠️
prefer-query-selector
unicorn
pedantic
🛠️
prefer-readonly
💭
typescript
nursery
prefer-readonly-parameter-types
💭
typescript
nursery
prefer-reduce-type-parameter
💭
typescript
style
🛠️
prefer-reflect-apply
unicorn
style
💡
prefer-regexp-exec
💭
typescript
nursery
prefer-regexp-test
unicorn
pedantic
🛠️
prefer-response-static-json
unicorn
style
💡
prefer-rest-params
eslint
style
prefer-return-this-type
💭
typescript
style
🛠️
prefer-set-has
unicorn
perf
⚠️🛠️
prefer-set-size
unicorn
correctness
✅
🛠️
prefer-spread
eslint
style
prefer-spread
unicorn
style
🛠️
prefer-spy-on
jest
style
💡
prefer-strict-equal
jest
style
🛠️
prefer-string-raw
unicorn
style
🛠️
prefer-string-replace-all
unicorn
pedantic
🛠️
prefer-string-slice
unicorn
pedantic
🛠️
prefer-string-starts-ends-with
💭
typescript
nursery
✅
prefer-string-starts-ends-with
unicorn
correctness
✅
🛠️
prefer-string-trim-start-end
unicorn
style
🛠️
prefer-structured-clone
unicorn
style
💡
prefer-tag-over-role
jsx-a11y
correctness
prefer-template
eslint
style
🚧
prefer-ternary
unicorn
style
🚧
prefer-to-be
jest
style
🛠️
prefer-to-be-falsy
vitest
style
🛠️
prefer-to-be-object
vitest
style
🛠️
prefer-to-be-truthy
vitest
style
🛠️
prefer-to-contain
jest
style
🛠️
prefer-to-have-been-called
jest
style
🛠️
prefer-to-have-been-called-times
jest
style
🛠️
prefer-to-have-length
jest
style
🛠️
prefer-todo
jest
style
🛠️
prefer-top-level-await
unicorn
pedantic
🚧
prefer-ts-expect-error
typescript
pedantic
🛠️
prefer-type-error
unicorn
pedantic
🛠️
preserve-caught-error
eslint
suspicious
🛠️
promise-function-async
💭
typescript
restriction
🛠️
radix
eslint
pedantic
⚠️🛠️
react-in-jsx-scope
react
suspicious
related-getter-setter-pairs
💭
typescript
pedantic
relative-url-style
unicorn
style
🛠️💡
require-array-join-separator
unicorn
style
🛠️
require-array-sort-compare
💭
typescript
correctness
✅
require-await
eslint
pedantic
⚠️🛠️
require-await
💭
typescript
pedantic
🚧
require-default-export
vue
suspicious
require-hook
jest
style
require-local-test-context-for-concurrent-snapshots
vitest
correctness
🚧
require-module-attributes
unicorn
style
💡
require-module-specifiers
unicorn
suspicious
🛠️
require-number-to-fixed-digits-argument
unicorn
pedantic
🛠️
require-param
jsdoc
pedantic
🚧
require-param-description
jsdoc
pedantic
🚧
require-param-name
jsdoc
pedantic
require-param-type
jsdoc
pedantic
🚧
require-post-message-target-origin
unicorn
suspicious
💡
require-property
jsdoc
correctness
🚧
require-property-description
jsdoc
correctness
require-property-name
jsdoc
correctness
require-property-type
jsdoc
correctness
require-render-return
react
nursery
require-returns
jsdoc
pedantic
🚧
require-returns-description
jsdoc
pedantic
require-returns-type
jsdoc
pedantic
require-to-throw-message
jest
correctness
require-top-level-describe
jest
style
require-typed-ref
vue
style
require-yield
eslint
correctness
✅
require-yields
jsdoc
correctness
restrict-plus-operands
💭
typescript
pedantic
restrict-template-expressions
💭
typescript
correctness
✅
return-await
💭
typescript
pedantic
🛠️💡
role-has-required-aria-props
jsx-a11y
correctness
role-supports-aria-props
jsx-a11y
correctness
rules-of-hooks
react
pedantic
scope
jsx-a11y
correctness
🛠️
self-closing-comp
react
style
🛠️
sort-imports
eslint
style
🛠️
sort-keys
eslint
style
🛠️
sort-vars
eslint
pedantic
🚧
spec-only
promise
restriction
state-in-constructor
react
style
strict-boolean-expressions
💭
typescript
pedantic
🚧
strict-void-return
💭
typescript
nursery
style-prop-object
react
suspicious
switch-case-braces
unicorn
style
🛠️
switch-exhaustiveness-check
💭
typescript
pedantic
🚧
symbol-description
eslint
pedantic
tabindex-no-positive
jsx-a11y
correctness
⚠️💡
text-encoding-identifier-case
unicorn
style
🛠️
throw-new-error
unicorn
style
🛠️
triple-slash-reference
typescript
correctness
✅
unambiguous
import
restriction
unbound-method
💭
typescript
correctness
✅
unicode-bom
eslint
restriction
🛠️
unified-signatures
typescript
style
uninvoked-array-callback
oxc
correctness
✅
use-isnan
eslint
correctness
✅
🛠️
use-unknown-in-catch-callback-variable
💭
typescript
restriction
💡
valid-define-emits
vue
correctness
🚧
valid-define-props
vue
correctness
🚧
valid-describe-callback
jest
correctness
valid-expect
jest
correctness
🚧
valid-params
promise
correctness
valid-title
jest
correctness
🛠️
valid-typeof
eslint
correctness
✅
🛠️
vars-on-top
eslint
style
void-dom-elements-no-children
react
correctness
warn-todo
vitest
correctness
yoda
eslint
style
🛠️