Packages

oxlint

1.94.0 · 16 Nov 2026MIT54.2M / weekRepositoryHomepagenpmAtom feed

Your version

1.94.0

Latest16 Nov 2026Where it was published

In short

1 breaking5 new2 faster88 fixed3 internal

  • Breaking

    linter: Mark oxc rules as recommended

Release note

Features

  • linter: Output recommended flag in --rules JSON output

  • linter/typescript/no-misused-promises: Add flagUnions option

  • minifier: Merge adjacent switch cases with identical bodies

  • linter/vue/no-shared-component-data: Implement fixer

  • linter: Mark oxc rules as recommended

  • linter/eslint/no-unused-vars: Suggest removing unused type parameters

  • linter/jsdoc/require-param-description: Implement suggestion

Bug Fixes

  • linter/vitest/prefer-importing-vitest-globals: Insert imports after shebangs and directives

  • linter: Drop ## Example headings from overrides config docs

  • linter: Mark undefined argument removal as dangerous

  • linter/typescript/prefer-function-type: Strip a trailing comma from the fixed signature

  • linter/jsx-a11y/prefer-tag-over-role: Allow role="img" on svg

  • linter/eslint/no-div-regex: Offer regex rewrites as suggestions

  • linter/jsx-a11y/lang: Don't report a missing lang attribute

  • linter/jest/prefer-to-be,linter/vitest/prefer-to-be: Emit rewrites as suggestions

  • linter/eslint/no-new-wrappers: Offer wrapper rewrites as suggestions

  • linter/jsx-a11y/scope: Preserve effectful attribute values in safe fixes

  • linter/jsx-a11y/no-redundant-roles: Use the first valid ARIA role token

  • linter/eslint/yoda: Skip safe fixes for relational regex comparisons

  • linter/typescript/no-import-type-side-effects: Make the import rewrite a suggestion

  • linter/jest/no-unneeded-async-expect-function,linter/vitest/no-unneeded-async-expect-function: Suggest unwrapping async callbacks

  • linter/eslint/no-regex-spaces: Offer regex rewrites as suggestions

  • linter/vitest/prefer-import-in-mock: Preserve quotes and escapes in fixes

  • linter/jest/prefer-called-with,linter/vitest/prefer-called-with: Offer matcher rewrites as suggestions

  • linter/typescript: Offer @ts-ignore rewrites as suggestions

  • linter/eslint/no-useless-escape: Demote useless escape fixes to suggestions

  • linter/jest/prefer-todo,linter/vitest/prefer-todo: Restrict safe fixes

  • linter/vitest/prefer-importing-vitest-globals: Avoid duplicate imports for type-only bindings

  • linter/vitest/prefer-strict-boolean-matchers: Offer rewrites as suggestions

  • linter/react/only-export-components: Classify export specifiers like declarations

  • linter/eslint/prefer-object-spread: Skip proto sources and suggest unsafe rewrites

  • linter/jsx-a11y: Match event handler props case-insensitively

  • linter/jsx-a11y/aria-unsupported-elements: Preserve effectful attribute values

  • linter/jsx-a11y/no-aria-hidden-on-focusable: Suggest removing aria-hidden

  • linter/react/rules-of-hooks: Match namespaced additional effect hooks

  • linter/react/no-unstable-nested-components: Ignore prop callbacks that return an object holding JSX

  • linter/unicorn/prefer-set-size: Keep a space after a keyword before [

  • linter/vitest/prefer-importing-vitest-globals: Skip value imports from non-Vitest sources

  • linter/oxc/no-accumulating-spread: Check reduce callbacks that take the index or array

  • linter/eslint/no-useless-rename: Don't fix a parenthesized target with a default

  • linter/typescript/prefer-function-type: Don't fix or double-report export default interface

  • linter/unicorn/prefer-export-from: Don't offer a fix that drops other names from the export list

  • linter/unicorn/prefer-response-static-json: Fix the suggestion when a comment follows new

  • linter/eslint/no-var: Don't fix when let or const changes behavior

  • linter: Don't skip code between comments when checking for an ASI hazard

  • linter/unicorn/prefer-at: Preserve grouping in slice pop and shift fixes

  • linter/oxc/only-used-in-recursion: Keep the line break after a line comment

  • linter/jest/no-untyped-mock-factory: Copy the module name as written

  • linter/unicorn/prefer-single-call: Skip comments when checking for a trailing comma

  • linter/import/no-duplicates: Handle comments after a trailing comma when merging

  • linter/eslint/curly: Don't remove braces when the statement needs a semicolon

  • linter/unicorn/no-useless-spread: Replace holes with undefined in spread arguments

  • linter: Print config: remove redundant extends in output

  • linter/vitest/require-awaited-expect-poll: Allow implicit arrow-function returns

  • linter: Print config: validate CLI options before printing config

  • linter: Print config: reflect CLI options like --type-aware in the printed config

  • linter: Print config: include JS plugin settings in output JSON

  • linter: Print config: use resolved config instead of config builder

  • linter: Print config: flatten single-element options arrays

  • linter: Print config: preserve original rule configuration when generating rule sets

  • linter/react: Exhaustive-deps misses ref.current method calls on custom refs

  • semantic: Preserve catch and var binding identities

  • linter/unicorn/prefer-spread: Avoid stack overflow on cyclic initializers

  • linter/react/exhaustive-deps: Stop autofixing missing dependency arrays

  • linter/unicorn/prefer-date-now: Preserve negation and comments (#29352) (Guru 🦄)

  • linter/eslint/func-style: Report functions sharing type names

  • linter/jsx-a11y/no-redundant-roles: Preserve link roles without href

  • linter: Infer omitted RegExp flags from known patterns

  • linter/unicorn/no-accessor-recursion: Distinguish private and public keys

  • react-compiler: Preserve ref mutation hints

  • linter/vitest/require-test-timeout: Avoid overflow when sorting configurations

  • linter/unicorn/consistent-template-literal-escape: Avoid panics after CRLF

  • linter/react/jsx-key: Only check direct JSX array elements

  • linter/oxc/no-accumulating-spread: Avoid panic on parenthesized optional chains

  • linter/jest/prefer-to-be,linter/vitest/prefer-to-be: Avoid Unicode whitespace panics

  • linter/vitest/prefer-called-once: Avoid panics on escaped matcher names

  • linter/unicorn/prefer-includes: Avoid panic on parenthesized optional chains

  • linter/unicorn/prefer-object-from-entries: Avoid panic on wrapped callees

  • linter/unicorn/prefer-dom-node-remove: Avoid panic on parenthesized optional chains

  • linter/unicorn/no-length-as-slice-end: Avoid panic on wrapped callees

  • linter/unicorn/no-useless-spread: Avoid panics on Unicode whitespace

  • linter/typescript/consistent-type-imports: Avoid panic on quoted import names

  • linter/unicorn/prefer-set-has: Avoid panics on Unicode whitespace

  • linter/unicorn/no-document-cookie: Stop resolving cyclic aliases

  • linter/unicorn/prefer-array-flat: Avoid panic on rest parameters

  • linter/no-large-snapshots: Avoid panics on Unicode whitespace

  • linter/eslint/no-empty: Use byte offsets for finally suggestions

  • linter/import/no-duplicates: Ignore braces in module strings

  • linter/vitest/no-standalone-expect: Support Vitest .extend test functions

  • linter/vitest/prefer-snapshot-hint: Recognize conditional test scopes

  • linter/vitest/require-awaited-expect-poll: Avoid duplicated reports

  • linter/prefer-mock-return-shorthand: Avoid mock return shorthand for mutations

  • linter/eslint/no-useless-assignment: Handle instance field captures

  • linter/eslint/no-use-before-defne: Fix numerous failing cases

  • linter/eslint/no-restricted-imports: Report invalid regex configuration

  • linter/eslint/arrow-body-style: Converge fixes for wrapped object returns

  • linter/unicorn/prefer-negative-index: Avoid panic on non-ASCII whitespace

Performance

  • parser: Skip unused identifier hashes

  • oxlint: Build diagnostic output while linting runs

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.