Skip to content

chore(lint): replace ESLint with Oxlint and run it in CI (LIN-4496) - #3

Merged
RathodDarshil merged 1 commit into
mainfrom
darshil/lin-4496-oxlint
Nov 2, 2026
Merged

RathodDarshil merged 1 commit into
mainfrom
darshil/lin-4496-oxlint

Conversation

@RathodDarshil

Copy link
Copy Markdown
Contributor

Replaces ESLint with Oxlint and runs lint in CI on every PR. Same rules (eslint and typescript-eslint recommended, unused vars with _ prefixes allowed). bun run lint takes 0.05s instead of 2.7s.

Part of LIN-4496 (one PR per repo).

Changes

  • .oxlintrc.json replaces eslint.config.js. lint, lint:fix and check now call oxlint src/.
  • New Lint workflow on PRs and main. The release workflow does not depend on it.
  • Removes eslint, @eslint/js, typescript-eslint and eslint-config-prettier. Oxlint has no style rules, so Prettier needs no off-switch.

Testing

  • bun run check (tsc and lint) passes with 0 findings, the same as ESLint on main.
  • bun install --frozen-lockfile passes.
  • Independent Opus review of all seven PRs before push: 1 Major (glaze-app had 13 React rules as warnings that ESLint enforced as errors), fixed here. Minor findings fixed too: CI on main no longer cancels an earlier run.

Risk

  • Lint only; the published binary does not change.
  • Oxlint has no no-octal rule. TypeScript already rejects octal literals.

🤖 Generated with Claude Code

Same rules (eslint and typescript-eslint recommended), about 50x faster.
Adds a Lint workflow on PRs and main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RathodDarshil
RathodDarshil merged commit 23f5ce5 into main Nov 2, 2026
4 checks passed
@RathodDarshil
RathodDarshil deleted the darshil/lin-4496-oxlint branch November 2, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant