oxlint
1.95.0 · 23 Nov 2026MIT54.2M / weekRepositoryHomepagenpmAtom feed
In short
1 new3 faster56 fixed1 internal
Release note
Features
linter/typescript/no-unsafe-class-instance-assignment: Add rule
Bug Fixes
linter/eslint/prefer-object-spread: Prefix semicolon when the fix could merge with the previous statement
linter/unicorn/prefer-math-trunc: Report
parseInt(String(...), 10)linter/unicorn/prefer-import-meta-properties: Stop flagging
fileURLToPath(new URL('.', import.meta.url))linter/unicorn/no-useless-spread: Replace holes with
undefinedin spread array literalslinter/eslint/no-implicit-coercion: Skip autofix when coercion constructor is shadowed
linter/eslint/no-unused-vars: Fixes remove a whole CRLF after an unused import
linter/eslint/max-lines: Report diagnostic at the start of the last character
linter: Find tsgolint in case-sensitive directories on Windows
linter/vitest/valid-expect: Validate
expectTypeOfmatcher chainslinter/react/exhaustive-deps: Report setters accessed through member expressions
linter/react/exhaustive-deps: Report setters from parenthesized or
as-castuseStatecallslinter/eslint/no-extra-boolean-cast: Parenthesize the replacement when needed
linter/eslint/operator-assignment: Parenthesize a conditional right operand in the "never" fix
linter/react/exhaustive-deps: Don't report
useReducerdispatches assetStatecallslinter/oxc/branches-sharing-code: Skip move suggestions for branch-local references
linter/react/jsx-curly-brace-presence: Don't report or fix props with escape sequences and preserve raw text
linter: Escape file and rule names in checkstyle and junit reporters
linter/unicorn/prefer-bigint-literals: Provide fix for hex literals containing
eorElinter/eslint/no-unneeded-ternary: Don't drop side-effecting tests in equal-literal fix
linter/unicorn/prefer-logical-operator-over-ternary: Parenthesize operands that bind looser than
||in fixerlinter/typescript/array-type: Report and fix
Readonly<T>linter/typescript/explicit-function-return-type: Check block-bodied arrows in returned objects
linter/typescript/prefer-as-const: Report angle-bracket literal assertions
linter: Do not flag one export { a, b } from as duplicate
agent: Implement all_rules for --rules support
semantic: Keep catch parameters in the catch clause scope
linter/import/extensions: Read options next to
patternlinter: Preserve code in Jest and Vitest padding fixes
linter/unicorn/catch-error-name: Keep the key of a shorthand property
semantic: Resolve a private name to the enclosing class that declares it
react-compiler: Ignore ESLint suppressions when hooks and memo validations are enabled
linter/eslint/new-cap: Allow
UTC()only on the globalDatelinter/eslint/no-async-promise-executor: Ignore shadowed Promise
linter/eslint/radix: Only report literal and
undefinedradixes, skip spreadslinter/eslint/no-invalid-regexp: Ignore a shadowed
RegExplinter/eslint/no-loss-of-precision: Ignore a
.with no fraction digitslinter/eslint/use-isnan: Ignore a shadowed
NaNorNumberlinter/eslint/prefer-promise-reject-errors: Ignore a shadowed
Promiselinter/eslint/no-extra-boolean-cast: Ignore a shadowed
Booleanlinter/eslint/no-obj-calls: Respect shadowed globalThis
linter/eslint/prefer-numeric-literals: Avoid invalid fixes for signed strings
linter/typescript/class-literal-property-style: Only suggest readonly fields in TypeScript files
linter/eslint/no-unneeded-ternary: Preserve boolean binary results
linter/react/require-render-return: Check non-JSX render methods
linter/vitest/prefer-called-times: Preserve expect head in fixes
linter/jest/prefer-to-contain,linter/vitest/prefer-to-contain: Offer rewrites as suggestions
linter/typescript/ban-tslint-comment: Preserve line breaks in fixes
linter/eslint/no-unsafe-negation: Offer rewrite as a suggestion
linter/eslint/no-unexpected-multiline: Recognize all line terminators
linter/eslint/no-compare-neg-zero: Exclude BigInt zero
linter/eslint/no-unsafe-finally: Report labeled continues escaping finally
linter/jest/no-restricted-jest-methods,linter/vitest/no-restricted-vi-methods: Report restricted methods in call chains
oxlint: Write --init errors to stderr
linter/eslint/no-fallthrough: Recognize all line terminators
linter/typescript/consistent-type-definitions: Add a semicolon when code follows on the same line
linter/eslint: Preserve statement boundaries in autofixes
Performance
oxlint: Convert diagnostic offsets to positions with a line index
various: Avoid copying source text in
OxcDiagnostic::render_with_source_codecallersdiagnostics: Loosen lifetime bound on
OxcDiagnostic::with_source_codelinter/plugins: Match selectors without allocating ancestor arrays
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.