Skip to content

build: replace eslint with oxlint#4169

Merged
erickzhao merged 1 commit intonextfrom
osxlint
Mar 17, 2026
Merged

build: replace eslint with oxlint#4169
erickzhao merged 1 commit intonextfrom
osxlint

Conversation

@erickzhao
Copy link
Copy Markdown
Member

@erickzhao erickzhao commented Mar 17, 2026

Tried the migration out with the SKILL.md provided on oxc.rs. Here are some benchmarks from my M1 Max MacBook:

Benchmark 1: npx oxlint
  Time (mean ± σ):     577.3 ms ±  37.8 ms    [User: 630.4 ms, System: 350.7 ms]
  Range (min … max):   545.8 ms … 669.6 ms    10 runs
Benchmark 1: npx eslint . --cache
  Time (mean ± σ):      2.589 s ±  0.063 s    [User: 2.502 s, System: 0.355 s]
  Range (min … max):    2.479 s …  2.684 s    10 runs
Benchmark 3: npx eslint .
  Time (mean ± σ):      7.606 s ±  0.110 s    [User: 11.699 s, System: 1.080 s]
  Range (min … max):    7.454 s …  7.795 s    10 runs

From testing, oxlint is about 77.7% faster than ESLint with a warm cache or 92.4% faster than ESLint without caching.
👍

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedoxlint@​1.51.0991009196100

View full report

@erickzhao erickzhao marked this pull request as ready for review March 17, 2026 00:36
@erickzhao erickzhao requested a review from a team as a code owner March 17, 2026 00:36
@erickzhao erickzhao merged commit 41921c7 into next Mar 17, 2026
13 checks passed
@erickzhao erickzhao deleted the osxlint branch March 17, 2026 17: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.

2 participants