Packages

oxlint

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

Your version

1.24.0

22 Oct 2025Where it was published

1.94.0 is the newest release of 1.x.

In short

1 removed16 new42 faster15 fixed2 changed39 internal

  • Removed

    linter/plugins: Remove parent property from comments

Release note

Features

  • linter: Add react/forbid-dom-props rule

  • language_server: Search both .json and .jsonc config file

  • linter: Add cwd property to JS plugin Context

  • linter: Merge vitest/prefer-to-be rule into existing jest/prefer-to-be rule implementation

  • linter/plugins: Comment-related APIs

  • linter: Add no-warning-comments rule

  • linter: Implement constructor-super rule

  • editor: Support oxc.fmt.configPath configuration

  • language_server: Watch for fmt.configPath file content change

  • semantic: Add symbol_id to ts function type binding idents

  • semantic: Add scope to TSConstructorType

  • oxfmt: Use Prettier style config key and value

  • linter/no-unused-vars: Support ignoreUsingDeclarations option

  • Oxfmt,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 extends is used

  • linter/no-unused-private-class-members: Fix false positive in default param

  • linter: no-unused-vars: allow updates in for loop test/update

  • linter/plugins: Handle utf16 characters within comment spans

  • linter/plugins: Prevent comments being accessed after file is linted

  • linter: Copy over js plugins when applying overrides

  • linter: Improve jest/no_export heuristic

  • linter: unicorn/filename-case report only on the first js block for astro, vue and svelte files

  • language_server: Fix panic when "disable rule for this line" position is after error span

  • linter/plugins: Add comments field to TS type def for Program

  • Removed

    linter/plugins: Remove parent property from comments

  • semantic: Fix quote handling in jsdoc parser

  • Oxlint,oxfmt: Skip traversing .git directories

Performance

  • linter: no-unused-private-class-members: only run when there are any classes

  • linter: no-dupe-class-members: only run when there are any classes

  • linter: no-this-before-super: only run when file contains super or this

  • linter: max-classes-per-file: skip when no classes

  • linter: id-length: reduce allocations and add more ASCII checks

  • linter: Use precomputed extension

  • linter: id-length: check if ident is ASCII before segmenting

  • linter: Cache file extension

  • linter/plugins: Use binary search

  • linter: Remove simple phf_map! calls

  • linter/plugins: Speed up SourceCode#getAncestors

  • language_server: Return Diagnostic when relinting all files

  • language_server: Avoid creating HashMap in Backend::did_change_configuration

  • language_server: Avoid creating HashMap in Backend::did_change_watched_files

  • linter/plugins: Lazy deserialize comments array

  • linter: Update prefer-node-protocol to use diverging match

  • linter: Update catch-error-name to use top-level match

  • linter: Update no-extra-non-null-assertion to use diverging match

  • linter: Update typescript/array-type to only have top-level match

  • linter: Refactor jsdoc/require-yields to deref instead of self.0

  • linter: Inline is_function_node calls for some jsdoc rules

  • linter: Refactor jest/require-hook to use top-level match

  • linter: Refactor jest/no-conditional-in-test to use diverging match

  • linter: Move root scope check into match arms in import/no-webpack-loader-syntax

  • linter: Refactor no-amd to do scope check after node type check

  • linter: Refactor no-unsafe-finally to have a diverging match as first statement

  • linter: Refactor no-labels to use top-level match on node kind

  • linter: Refactor class-methods-use-this to be analyzed

  • linter: Add codegen support for is_member_expression_kind in match

  • linter: Switch if !matches!(node.kind(), ...) to match block

  • linter: Rearrange rules for node type analysis

  • linter: Support getting as_member_expression_kind() variants

  • linter: Only check for call expr once in unicorn/no-array-method-this

  • linter: Detect diverging match blocks for node type skipping

  • linter: Update react/prefer-es6-class to use top-level match

  • linter: Update linter codegen to support wildcard with empty tuple

  • linter: Update no-const-assign to run on nodes instead of symbols

  • linter: Run next/no-duplicate-head on nodes instead of symbols

  • linter: Switch no-param-reassign to run on nodes

  • linter: Run no-class-assign on class nodes instead of symbols

  • linter: Support as_* for node type codegen

  • linter: 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.