oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
refactor(linter): move `valid-title` rule to `shared` and crate own rule for `vitest`
01-23-refactor_linter_move_valid-title_rule_to_shared_and_crate_own_rule_for_vitest_
5 hours ago
refactor(linter): move `valid-title` rule to `shared` and crate own rule for `vitest`
01-23-refactor_linter_move_valid-title_rule_to_shared_and_crate_own_rule_for_vitest_
6 hours ago
fix(linter): Fix behavior of unicorn/catch-error-name to match original rule (#18209) I re-ported the tests for the original rule and then updated the rule logic to get the tests passing. The rule now allows: - Trailing underscores, e.g. `error_`, `error__`, etc. if `error` is the name allowed. - Allows "qualified" names, e.g. if `error` is the allowed name, then `diagnostic_error` and `diagnosticError` are also accepted. See the original rule source for reference: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/f8935521f0de0b447ceffae1f2438aead0fd21c5/rules/catch-error-name.js AI Disclosure: The changes to the is_name_allowed method were assisted with advice from AI (Copilot + Raptor mini), but written mostly by me. Everything else was manual reporting of the tests using our rulegen tool.
main
9 hours ago
fix(linter/jsx-a11y): change `no-autofocus` autofix to suggestion (#18155) ## Summary - Change `jsx-a11y/no-autofocus` autofix from automatic `fix` to manual `suggestion` The autofix was automatically removing `autoFocus` attributes from JSX elements during `--fix`. This is dangerous because: 1. **Silently changes application behavior** - removes auto-focus functionality without warning 2. **Causes test failures** - tests verifying focus behavior start failing 3. **Degrades user experience** - form inputs lose their intended auto-focus behavior 4. **Inconsistent with ESLint** - the ESLint `jsx-a11y/no-autofocus` rule does NOT have an autofix Now users must explicitly opt-in with `--fix-suggestions` to apply this transformation. Closes #18151 ## Test plan - `cargo test -p oxc_linter -- no_autofocus` passes - The fix behavior is now gated behind `--fix-suggestions` flag Co-authored-by: Ben Lowery <14350+blowery@users.noreply.github.com>
main
9 hours ago
fix(linter/unicorn): fix `prefer-array-some` autofix for `.filter().length` pattern (#18153) ## Summary - Fix autofix for `unicorn/prefer-array-some` rule when handling `.filter(fn).length > 0` pattern The autofix was incorrectly transforming: ```javascript array.filter(fn).length > 0 // into broken code: array.some(fn).length > 0 ``` This is broken because `.some()` returns a boolean, not an array. Accessing `.length` on a boolean yields `undefined`. The fix now correctly removes the `.length > 0` comparison: ```javascript array.filter(fn).length > 0 // becomes: array.some(fn) ``` Closes #18150 ## Test plan - Updated existing unit tests to expect correct output - `cargo test -p oxc_linter -- prefer_array_some` passes Co-authored-by: Ben Lowery <14350+blowery@users.noreply.github.com>
main
9 hours ago
refactor(linter): add `FixKind` to `Fix` (#18363) Add `FixKind` to `Fix` so the language server can filter them out for "fix all" code actions / commands.
main
9 hours ago
chore(linter): Create a JSON file for Vitest-compatible Jest rules. (#18414) This is intended to match the existing constant in the codebase exactly, and will be used for oxlint-migrate and eslint-plugin-oxlint to get rid of some tedious busywork with keeping the projects in sync. Fixes #18413 See https://github.com/oxc-project/oxlint-migrate/pull/344 for the companion PR in oxlint-migrate.
main
10 hours ago
fix(linter): Mark fixes in `unicorn/no-null` rule as dangerous. (#18436) Fixes #17466.
main
10 hours ago
Active Branches
refactor(linter): move `valid-title` rule to `shared` and crate own rule for `vitest`
last run
5 hours ago
#18467
CodSpeed Performance Gauge
0%
perf(lexer): compute identifier hash incrementally during lexing
last run
10 hours ago
#18454
CodSpeed Performance Gauge
-20%
refactor(oxc_str): add IncrementalIdentHasher for byte-by-byte hash computation
last run
10 hours ago
#18451
CodSpeed Performance Gauge
0%
Β© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs