Rules β
The progress of all rule implementations is tracked here.
- Total number of rules: 524
- Rules turned on by default: 123
Legend for 'Fixable?' column:
- π οΈ: an auto-fix is available for this rule
- π‘: a suggestion is available for this rule
- β οΈπ οΈ: a dangerous auto-fix is available for this rule
- β οΈπ‘: a dangerous suggestion is available for this rule
- π§: an auto-fix or suggestion is possible, but currently not implemented
Correctness (176): β
Code that is outright wrong or useless.
Perf (10): β
Code that can be written to run faster.
Rule name | Source | Default | Fixable? |
---|---|---|---|
no-await-in-loop | eslint | ||
no-useless-call | eslint | ||
no-accumulating-spread | oxc | ||
no-array-index-key | react | ||
jsx-no-jsx-as-prop | react_perf | ||
jsx-no-new-array-as-prop | react_perf | ||
jsx-no-new-function-as-prop | react_perf | ||
jsx-no-new-object-as-prop | react_perf | ||
prefer-array-find | unicorn | π§ | |
prefer-set-has | unicorn | β οΈπ οΈοΈ |
Restriction (66): β
Lints which prevent the use of language and library features. Must not be enabled as a whole, should be considered on a case-by-case basis before enabling.
Suspicious (33): β
code that is most likely wrong or useless.
Pedantic (82): β
Lints which are rather strict or have occasional false positives.
Style (149): β
Code that should be written in a more idiomatic way.
Nursery (8): β
New lints that are still under development.
Rule name | Source | Default | Fixable? |
---|---|---|---|
getter-return | eslint | ||
no-undef | eslint | ||
no-unreachable | eslint | ||
export | import | ||
named | import | ||
no-map-spread | oxc | π οΈπ‘ | |
no-return-in-finally | promise | ||
require-render-return | react |