The progress of all rule implementations is tracked here.
- Total number of rules: 432
- Rules turned on by default: 96
Code that is outright wrong or useless.
Code that can be written to run faster.
| Rule name | Source | Default | Fixable? |
|---|---|---|---|
| no-await-in-loop | eslint | ||
| no-accumulating-spread | oxc | ||
| 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 |
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.
code that is most likely wrong or useless.
| Rule name | Source | Default | Fixable? |
|---|---|---|---|
| no-extend-native | eslint | ||
| no-new | eslint | ||
| no-unexpected-multiline | eslint | ||
| no-useless-concat | eslint | ||
| no-useless-constructor | eslint | π οΈ | |
| no-duplicates | import | ||
| no-named-as-default | import | ||
| no-named-as-default-member | import | ||
| no-self-import | import | ||
| no-commented-out-tests | jest | ||
| approx-constant | oxc | ||
| misrefactored-assign-op | oxc | π§ | |
| no-async-endpoint-handlers | oxc | ||
| jsx-no-comment-textnodes | react | ||
| react-in-jsx-scope | react | ||
| no-confusing-non-null-assertion | typescript | π§ | |
| no-extraneous-class | typescript | ||
| no-unnecessary-type-constraint | typescript | ||
| consistent-function-scoping | unicorn | π§ | |
| prefer-add-event-listener | unicorn | π§ |
Lints which are rather strict or have occasional false positives.
Code that should be written in a more idiomatic way.
New lints that are still under development.
| Rule name | Source | Default | Fixable? |
|---|---|---|---|
| constructor-super | eslint | ||
| getter-return | eslint | ||
| no-undef | eslint | ||
| no-unreachable | eslint | ||
| export | import | ||
| no-return-in-finally | promise | ||
| require-render-return | react | ||
| rules-of-hooks | react | ||
| no-side-effects-in-initialization | tree_shaking | ||
| consistent-type-imports | typescript | π οΈ |