Packages

oxlint

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

Your version

1.43.0

2 Feb 2026Where it was published

1.94.0 is the newest release of 1.x.

In short

1 breaking23 new3 faster29 fixed7 internal

  • Breaking

    linter/plugins: RuleTester set context.filename to absolute path

Release note

The section about oxlint of a note shared by several packages.

Oxlint v1.43.0

Breaking changes

  • Breaking

    linter/plugins: RuleTester set context.filename to absolute path

Features

  • linter/vscode: Run extension when JS configs are detected

  • linter/lsp: Implement support for oxlint.config.ts

  • linter: Auto generate oxlint.config.ts types

  • oxlint: Introduce defineConfig helper

  • linter: Implement oxlint.config.ts support

  • linter: Implement react/no-multi-comp rule.

  • linter/plugins: Move eslint compatible plugin conversion to eslintCompatPlugin function

  • linter/plugins: RuleTester take cwd property

  • linter: Add find_prev_token_within method for token search

  • linter: Introduce load_js_configs napi callback

  • linter: Introduce DiscoveredConfig in preparation for JS configs

  • linter/prefer-namespace-keyword: Move to correctness

  • linter/prefer-modern-dom-apis: Implement suggestion

  • linter: Implement prefer-const

  • parser: Error on ambient class accessor implementations

  • linter: Add eslint-plugin-import/no-nodejs-modules rule

  • linter/no-duplicates: Add support for considerQueryString option

  • linter/consistent-generic-constructor: Implement fixer

  • linter/prefer-exponentation-operator: Implement suggestion

  • linter: eslint/sort_keys ignore leading and trailing spreads in auto-fix

  • linter: Implement import/no-relative-parent-imports rule

  • vscode: Fallback to globally installed oxlint/oxfmt packages

Bug Fixes

  • linter/plugins: Clear state when reloading workspace

  • linter: Error on arrays passed in as config

  • linter/tsdown: Ensure relative path for globals import starts with ./

  • linter: Remove invalid debug assersion, add test

  • linter: Fix config option docs for react/jsx-boolean-value rule.

  • linter/prefer-const: Replace entire declaration over just the let kw

  • linter: Error when given config options for a lint rule that has no config options defined.

  • linter/consistent-index-object-style: False positive with mapped + generic types

  • linter: Fix 32 bit build

  • linter/plugins: Handle error from destroyWorkspace

  • linter: Fix the curly rule config to enforce the shape of the config and emit correct docs

  • linter/plugins: Use non-blocking mode when calling destroyWorkspace

  • linter: Accept bools as valid values for fixable

  • linter/plugins: Support plugins outside of workspace

  • vscode: Use fsPath for workspace mapping

  • linter/consistent-generic-constructors: Check bounds when searching for : token

  • linter/capitalized-comments: Fix generated rule option docs

  • linter: Add more tests for prefer-const's fixer and fix its invalid behavior.

  • oxlint/lsp: Disable JS plugins support in LSP except in tests

  • linter/jest: Change prefer-spy-on autofix to suggestion

  • linter: Mark unused disable directive fix as suggestion

  • linter/no-useless-constructor: Consider argument transformation as used

  • linter: Fix behavior of jsx-a11y/no-static-element-interactions rule.

  • linter/no-html-link-for-pages: Handle target=_blank correctly

  • linter/plugins: Pass all args to CFG event handlers when 2 rules use same handler

  • linter/curly: Fix multi-or-nest and consistent conflict

  • linter/plugins: Implement context.parserPath

  • linter/plugins: filename option takes precedence over parserOptions.lang in RuleTester

  • linter/plugins: Allow line number passed to report to be 0

  • vscode: Use built-in getWorkspaceFolder for detecting the right workspace of a given uri

  • oxlint/cli: Report error when nested config could not be parsed

Performance

  • linter/plugins: Reduce cost of workspaces

  • linter: Remove string allocation

  • linter/plugins: Replace ESLint Traverser with lightweight traverseNode

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.