oxlint
1.94.0 · 16 Nov 2026MIT54.2M / weekRepositoryHomepagenpmAtom feed
1.94.0 is the newest release of 1.x.
In short
18 new6 faster24 fixed9 internal
Release note
The section about oxlint of a note shared by several packages.
Oxlint v1.31.0
Features
linter/plugins: Rule options
linter/plugins: Introduce
RuleTesterlinter/plugins: Implement
languageOptions.parserlinter: Implement no-restricted-types rule
linter/plugins: Implement
SourceCode#getNodeByRangeIndexlinter/plugins: Implement options merging
linter/plugins: Support default options
linter/plugins: Implement
SourceCode#getTokenOrCommentAfter()linter/plugins: Implement
SourceCode#getTokenOrCommentBefore()linter/plugins: Implement
SourceCode#getTokenByRangeStart()linter/plugins: Implement
SourceCode#getTokensBetween()linter/plugins: Implement
SourceCode#getLastTokensBetween()linter/plugins: Implement
SourceCode#getFirstTokenBetween()linter/plugins: Implement
SourceCode#getFirstTokensBetween()linter/plugins: Implement
SourceCode#getLastTokenBetween()linter/plugins: Implement
SourceCode#getLastToken()
Bug Fixes
linter: Fix rule option docs for no-extra-boolean-cast, prefer-number-properties, and prefer-structured-clone
linter/plugins: Fix message interpolation
linter/plugins, napi/parser: Deep freeze visitor keys
linter: Fix
typescript/no-empty-interfaceconfig option casing.oxlint/oxfmt/lsp: Tell client the real tool name & version
linter: Support both prefer-inline and preferInline for import/no-duplicates
linter: Fix config docs for no-return-assign and unicode-bom rules.
linter: Correct docs to use string option for import/first rule.
linter: Correct the default config options for the switch-exhaustiveness-check rule.
linter: Fix casing for unicorn/explicit-length-check config option.
linter/plugins: Reset state after error during AST visitation
linter: Fix docs for
consistent-type-specifier-styleandconsistent-type-definitionsrules.linter: Fix the radix rule docs to correctly render as a string-only config option
oxlint/lsp: Run diagnostics after delayed worker initialization
linter/plugins: Deep freeze options
linter/plugins: Handle zero-token files in
SourceCode#getLastToken()linter: Add considerDefaultExhaustiveForUnions option to switch-exhaustiveness-check
minifier: Avoid merging side effectful expressions to next assignment statement if the side effect may change the left hand side reference
linter/plugins: Handle non-UTF8 file paths
linter/plugins: Improve type def for
RuleMetadefaultOptionspropertytsgolint: Improve lsp diagnostic when linting fails
linter: Prevent conflicting fixes between prefer_number_properties and prefer_numeric_literals
ast/estree: Convert
TSImportTypeargumentfield toLiterallinter: Fix prefer-string-raw fixer producing invalid JS for non-ASCII strings
linter/plugins: Perform length checks before continuing loops
linter/jsx-key: Implement missing options
Performance
linter/plugins, napi/parser: Reuse arrays in visitor keys
linter/no-restricted-types: Skip running if config is empty
linter/plugins: Optimize
getTokens()and other methodslinter/plugins: Speed up
initTokensWithCommentslinter/plugins: Optimize merging of
tokensandcommentslinter/plugins: Recycle objects in token methods
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.