Try it out! In any of your codebase:
npx oxlint@latest .
This release supports 31 correctness rules:
npx oxlint@latest --rules
Correctness (31):
- deepscan/bad-array-method-on-arguments
- deepscan/bad-comparison-sequence
- deepscan/bad-min-max-func
- deepscan/bad-remove-event-listener
- deepscan/missing-throw
- deepscan/number-arg-out-of-range
- deepscan/uninvoked-array-callback
- eslint/constructor-super
- eslint/for-direction
- eslint/getter-return
- eslint/no-async-promise-executor
- eslint/no-caller
- eslint/no-class-assign
- eslint/no-compare-neg-zero
- eslint/no-const-assign
- eslint/no-constant-binary-expression
- eslint/no-constant-condition
- eslint/no-debugger
- eslint/no-dupe-class-members
- eslint/no-dupe-keys
- eslint/no-duplicate-case
- eslint/no-empty-pattern
- eslint/no-function-assign
- eslint/no-new-symbol
- eslint/no-self-compare
- eslint/no-setter-return
- eslint/no-shadow-restricted-names
- eslint/no-unsafe-negation
- eslint/no-unused-labels
- eslint/use-isnan
- eslint/valid-typeof