[0.12.0] - 2024-11-20
Experimental support for overrides
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"overrides": [
{
"files": ["**/packages/**"],
"rules": {
"no-console": "warn"
}
}
]
}
Experimental support for react/exhaustive-deps
oxlint -W exhaustive-deps
or
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"rules": {
"react/exhaustive-deps": "warn"
}
}
Features
- 1d9f528 linter: Implement
unicorn/prefer-string-raw
lint rule (#7335) (Ryan Walker) - d445e0f linter: Implement
unicorn/consistent-existence-index-check
(#7262) (Ryan Walker) - 01ddf37 linter: Add
allowReject
option tono-useless-promise-resolve-reject
(#7274) (no-yan) - 755a31b linter: Support bind function case for compatibility with
promise/no-return-wrap
(#7232) (no-yan) - 428770e linter: Add
import/no-namespace
rule (#7229) (Dmitry Zakharov) - 9c91151 linter: Implement typescript/no-empty-object-type (#6977) (Orenbek)
- 2268a0e linter: Support
overrides
config field (#6974) (DonIsaac) - 3dcac1a linter: React/exhaustive-deps (#7151) (camc314)
- d3a0119 oxlint: Add
cwd
property toLintRunner
(#7352) (Alexander S.)
Bug Fixes
- ba0b2ff editor: Reload workspace configuration after change (#7302) (Alexander S.)
- bc0e72c linter: Handle user variables correctly for import/no_commonjs (#7316) (Dmitry Zakharov)
- bf839c1 linter: False positive in
jest/expect-expect
(#7341) (dalaoshu) - ff2a1d4 linter: Move
exhaustive-deps
toreact
(#7251) (camc314) - df5c535 linter: Revert unmatched rule error (#7257) (Cameron A McHenry)
- c4ed230 linter: Fix false positive in eslint/no-cond-assign (#7241) (camc314)
- ef847da linter: False positive in
jsx-a11y/iframe-has-title
(#7253) (dalaoshu) - 62b6327 linter: React/exhaustive-deps update span for unknown deps diagnostic (#7249) (camc314)
Documentation
- 4c124a8 editor/vscode: Update VS Code readme with installation instructions and available features (#7306) (Nicholas Rayburn)