Skip to content

Switch from ESLint to oxlint - #84

Merged
bhousel merged 1 commit into
mainfrom
oxlint
Nov 14, 2026
Merged

bhousel merged 1 commit into
mainfrom
oxlint

Conversation

@bhousel

@bhousel bhousel commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Replaces ESLint + typescript-eslint with oxlint, following the agent-practices ESLint → oxlint playbook. This unblocks TypeScript 7, which typescript-eslint doesn't support yet.

  • Dependency tree: 108 → 40 packages. bun audit: 14 advisories → 0 (all came in through ESLint).
  • check:lint: ~830 ms → ~90 ms.
  • .oxlintrc.json turns on the correctness category plus every rule ESLint enforced, with the same severity and options, including rules from the recommended/stylistic shared configs. Checked against ESLint's effective config so nothing silently turned off.
  • Removes a useless export {} in scripts/postpublish.ts (flagged by oxlint).
  • Drops the ESLint problem-matcher step from CI.

Rules not carried over

  • Formatting (oxlint doesn't implement them; .editorconfig/.gitattributes cover whitespace): semi, brace-style, keyword-spacing, arrow-spacing, block-spacing, func-call-spacing, semi-spacing, space-unary-ops, no-trailing-spaces, no-whitespace-before-property, linebreak-style, no-floating-decimal
  • Deprecated or aliases: no-catch-shadow, no-return-await, no-native-reassign (no-global-assign is still on)
  • Can't occur in ES modules: no-octal, no-octal-escape
  • Not in oxlint: no-invalid-this, no-undef-init, require-atomic-updates (none flagged anything)
  • no-restricted-properties had no options, so it was a no-op

Supersedes #79 and #81.

🤖 Generated with Claude Code

Follows the agent-practices ESLint -> oxlint playbook. Keeps every rule ESLint
enforced (including ones from the shared recommended/stylistic configs) where
oxlint has it, and clears all 14 bun audit advisories from ESLint dependencies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bhousel
bhousel merged commit 9004e28 into main Nov 14, 2026
1 check passed
@bhousel
bhousel deleted the oxlint branch November 14, 2026 15:20
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