oxlint
1.94.0 · 16 Nov 2026MIT54.2M / weekRepositoryHomepagenpmAtom feed
1.94.0 is the newest release of 1.x.
In short
3 breaking12 new15 fixed11 internal
- Breaking
span: Use
ModuleKind::CommonJSfor.cjsand.ctsfile extensions - Breaking
linter/plugins: Prevent access to
cwdincreateOnce - Breaking
ast: Move scope from
TSEnumDeclarationtoTSEnumBody
Release note
The section about oxlint of a note shared by several packages.
Oxlint v1.40.0
Breaking changes
- Breaking
span: Use
ModuleKind::CommonJSfor.cjsand.ctsfile extensions - Breaking
linter/plugins: Prevent access to
cwdincreateOnce - Breaking
ast: Move scope from
TSEnumDeclarationtoTSEnumBody
Features
linter/plugins: Support
commonjssource type inRuleTesternapi/parser, napi/transform: Accept
sourceType: "commonjs"parser: Implement unambiguous module parsing for JS/TS files
span: Add
sourceType: 'commonjs'supportlinter: Implement rule option validation/error handling for jest/no-hooks and eslint/no-return-assign rules.
vscode: Change icon source
linter: Update linter JSON rule output to include extra information.
linter/no-useless-rename: Add automatic fix
linter/no-unused-vars: Improve fixer for unused imports
linter/fixer: Expose
find_next_token_withinin fixerlinter/fixer: Expose
find_next_token_fromin fixer
Bug Fixes
linter/plugins:
reportaccept out of rangecolumnindexes inloclinter: Move typescript/prefer-optional-chain to nursery for now.
linter/plugins: Rule tester default to module source type in ESLint compat mode
vscode: Resolve binary paths with node resolver
linter: Update react/jsx-max-depth to raise an error if provided invalid config options.
linter: Raise errors for invalid config on eslint/prefer-promise-reject-errors rule
linter/rules-of-hooks: Detect hook calls inside JSX render props
linter: Sort paths by length instead of alphabetically for depth heuristic
linter: Fix LSP panic from stale directive spans
linter: Fix stack overflow in
no-unreachablerule on large fileslinter/plugins: Use correct ScriptKind for tokens
oxlint/lsp: Don't send
workspace/diagnostic/refreshnotification on watched file changeslinter/prefer-destructuring: Fix rule to exclude
usingandawait usinglinter/no-promise-executor-return: Check if
Promiseis the global onelinter/no-await-in-loop: Add support for
await usinglinter/no-import-node-test: Mark fixer as suggestion
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.