Oxlint vs ESLint on Nuxt: Faster, but Blind to Vue Templates
TL;DR: In our Oxlint vs ESLint test on two Nuxt repos, Oxlint ran the same rules 24–38x faster than cold ESLint but missed all 10 Vue template-rule violations: it reads only a .vue file's script. Run in front of ESLint, as Oxc suggests for large repos, it made clean cached runs 13% and 44% slower. On Vue, keep ESLint alone, with caching and staged-file linting if a commit takes over 1 s. For JSX…
Oxlint is a linter developed by the Oxc project, written in Rust and published by VoidZero, the same organization behind Vite. It is designed to be a faster alternative to ESLint, the popular JavaScript linter. Oxlint is written in Rust, which allows it to compile its rules from ESLint core and plugins like eslint-plugin-vue, resulting in a single Rust binary. ESLint, on the other hand, loads each rule as JavaScript, which is a significant factor in Oxlint's speed advantage.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to