Skip to content

Conversation

@cjnoname
Copy link
Contributor

@cjnoname cjnoname commented Feb 3, 2026

Summary

Replace eslint with oxlint for faster linting.

Changes

  • Add oxlint as devDependency
  • Add .oxlintrc.json configuration with rules matching existing eslint config
  • Update lint-staged to use oxlint for js/ts files
  • Update lint:check and lint:fix scripts to use oxlint

Why oxlint?

  • Significantly faster than eslint (50-100x)
  • Written in Rust, no need for plugin installation
  • Compatible with most eslint rules

@cjnoname cjnoname requested a review from a team as a code owner February 3, 2026 23:12
@cjnoname cjnoname force-pushed the chore/replace-eslint-with-oxlint branch from 9e51d4e to 4bc4303 Compare February 3, 2026 23:13
- Add oxlint as devDependency, remove eslint
- Add .oxlintrc.json configuration with rules matching existing eslint config
- Delete .eslintrc.js (replaced by .oxlintrc.json)
- Update lint-staged to use oxlint for js/ts files
- Update lint:check and lint:fix scripts to use oxlint
- Enable strict rules: curly, eqeqeq, no-async-promise-executor, no-console, prefer-const
- Fix no-async-promise-executor in crl_fetcher.ts by converting to async IIFE
- Fix curly rule in crl_validator.ts by adding braces
- Fix prefer-const in result.js and errors.js
- Replace eslint-disable comments with oxlint-disable
@cjnoname cjnoname force-pushed the chore/replace-eslint-with-oxlint branch from 4bc4303 to 8fff17e Compare February 4, 2026 00:26
@cjnoname cjnoname requested a review from a team as a code owner February 4, 2026 00:26
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