oxlint
1.94.0 · 16 Nov 2026MIT54.2M / weekRepositoryHomepagenpmAtom feed
1.94.0 is the newest release of 1.x.
In short
1 removed16 new42 faster15 fixed2 changed39 internal
- Removed
linter/plugins: Remove
parentproperty from comments
Release note
Features
linter: Add react/forbid-dom-props rule
language_server: Search both .json and .jsonc config file
linter: Add
cwdproperty to JS pluginContextlinter: Merge vitest/prefer-to-be rule into existing jest/prefer-to-be rule implementation
linter/plugins: Comment-related APIs
linter: Add
no-warning-commentsrulelinter: Implement constructor-super rule
editor: Support
oxc.fmt.configPathconfigurationlanguage_server: Watch for
fmt.configPathfile content changesemantic: Add
symbol_idto ts function type binding identssemantic: Add scope to
TSConstructorTypeoxfmt: Use Prettier style config key and value
linter/no-unused-vars: Support
ignoreUsingDeclarationsoptionOxfmt,language_server: Enable JSX for all JS source type
linter/plugins: Implement
SourceCode#getAllComments
Bug Fixes
linter: Postmessage is not called on window
language_server: Make unused directives fixable again
linter: Error on unexpected tokens when declaring lint rule
linter/no-invalid-fetch-options: Ignore non static method
oxlint: Resolving JS plugin failing when
extendsis usedlinter/no-unused-private-class-members: Fix false positive in default param
linter:
no-unused-vars: allow updates in for loop test/updatelinter/plugins: Handle utf16 characters within comment spans
linter/plugins: Prevent
commentsbeing accessed after file is lintedlinter: Copy over js plugins when applying overrides
linter: Improve
jest/no_exportheuristiclinter:
unicorn/filename-casereport only on the first js block forastro,vueandsveltefileslanguage_server: Fix panic when "disable rule for this line" position is after error span
linter/plugins: Add
commentsfield to TS type def forProgram- Removed
linter/plugins: Remove
parentproperty from comments semantic: Fix quote handling in jsdoc parser
Oxlint,oxfmt: Skip traversing
.gitdirectories
Performance
linter:
no-unused-private-class-members: only run when there are any classeslinter:
no-dupe-class-members: only run when there are any classeslinter:
no-this-before-super: only run when file contains super or thislinter:
max-classes-per-file: skip when no classeslinter:
id-length: reduce allocations and add more ASCII checkslinter: Use precomputed extension
linter:
id-length: check if ident is ASCII before segmentinglinter: Cache file extension
linter/plugins: Use binary search
linter: Remove simple
phf_map!callslinter/plugins: Speed up
SourceCode#getAncestorslanguage_server: Return
Diagnosticwhen relinting all fileslanguage_server: Avoid creating HashMap in
Backend::did_change_configurationlanguage_server: Avoid creating HashMap in
Backend::did_change_watched_fileslinter/plugins: Lazy deserialize comments array
linter: Update
prefer-node-protocolto use diverging matchlinter: Update
catch-error-nameto use top-level matchlinter: Update
no-extra-non-null-assertionto use diverging matchlinter: Update
typescript/array-typeto only have top-level matchlinter: Refactor
jsdoc/require-yieldsto deref instead ofself.0linter: Inline
is_function_nodecalls for some jsdoc ruleslinter: Refactor
jest/require-hookto use top-level matchlinter: Refactor
jest/no-conditional-in-testto use diverging matchlinter: Move root scope check into match arms in
import/no-webpack-loader-syntaxlinter: Refactor
no-amdto do scope check after node type checklinter: Refactor
no-unsafe-finallyto have a diverging match as first statementlinter: Refactor
no-labelsto use top-level match on node kindlinter: Refactor class-methods-use-this to be analyzed
linter: Add codegen support for
is_member_expression_kindin matchlinter: Switch
if !matches!(node.kind(), ...)to match blocklinter: Rearrange rules for node type analysis
linter: Support getting
as_member_expression_kind()variantslinter: Only check for call expr once in
unicorn/no-array-method-thislinter: Detect diverging match blocks for node type skipping
linter: Update
react/prefer-es6-classto use top-level matchlinter: Update linter codegen to support wildcard with empty tuple
linter: Update
no-const-assignto run on nodes instead of symbolslinter: Run
next/no-duplicate-headon nodes instead of symbolslinter: Switch
no-param-reassignto run on nodeslinter: Run
no-class-assignon class nodes instead of symbolslinter: Support
as_*for node type codegenlinter: Use top-level match for
const-comparisons
Styling
linter/plugins: Reorder code
Other
oxlint: V1.24.0
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.