⏱️ Reading time: 9 min
On December 3, 2026, Nicholas C. Zakas, co-creator and maintainer of ESLint, explained why rewriting ESLint in Rust is not a good idea, despite the speed that newer linters promise. He did so in an open discussion on the official repository, and his answer matters to anyone maintaining a JavaScript or TypeScript project that runs ESLint in a CI pipeline and feels tempted to switch to a faster tool just because it is written in Rust.
📑 En este artículo
- What ESLint does and who decides its direction
- ESLint in Rust: the question nzakas keeps getting
- The creator’s answer: team, knowledge, and dogfooding
- The real bottleneck isn’t the language, it’s the ecosystem
- What we tested: installing ESLint in an isolated sandbox
- ESLint vs. swc vs. standard: three ways to solve the same problem
- When this logic doesn’t apply
- What this means for your project
- References
What ESLint does and who decides its direction
ESLint is a tool for finding and reporting problematic patterns in JavaScript code: it parses code into an abstract syntax tree (AST) with its own parser, Espree, and each rule runs as an independent plugin that anyone can add at runtime, according to its own repository. The project is MIT licensed, its main language is JavaScript, and it had its last push on December 5, 2026, the same day as this article.
The latest release is v10.16.0, published on November 27, 2026. As of December 5, 2026, the repository has about 27,700 stars and about 5,200 forks, a user base large enough that any architecture change would affect thousands of projects in production.
ESLint in Rust: the question nzakas keeps getting
The question of porting ESLint to Rust is not new: ever since Rust-based linters and compilers appeared, Zakas says he has received it multiple times in recent years, as he explains in the discussion. The logic behind it is simple: Rust-based linters are faster, so ESLint would be too if it did the same. Zakas’s answer is that this logic jumps straight to a solution without understanding the actual problem.
It matters to anyone running ESLint in CI for a JavaScript or TypeScript project. If linting takes minutes in a large monorepo, the temptation to switch to a faster tool because it is written in Rust is real. Zakas’s answer also works as a guide for weighing that temptation before migrating anything.
The creator’s answer: team, knowledge, and dogfooding
The first argument is about capacity. ESLint has never had full-time maintainers: the whole team works as volunteers, and according to Zakas, the most prolific members put in at most 10 hours a week; most contribute considerably less. Rewriting all of ESLint in another language, even with AI assistance to speed up the work, would compete with the project’s normal maintenance for that same scarce time.
The second argument is about knowledge. The team and most contributors are fluent in JavaScript and TypeScript, not Rust. Zakas says he learned Rust himself a couple of years ago, came to like it, but went back to JavaScript as soon as that specific project was done. Switching languages would push away many current contributors, who find a bug while using ESLint and fix it in the same language they already know.
The third argument is dogfooding. ESLint lints itself with nearly every rule and plugin enabled, so the team feels every confusing error message or slow rule firsthand before any external user reports it. Moving to Rust would break that feedback loop, at least while the team stops writing JavaScript every day to maintain its own tool.
The real bottleneck isn’t the language, it’s the ecosystem
ESLint’s entire ecosystem (custom rules, parsers, plugins, and processors) is written in JavaScript. An ESLint written in Rust would somehow have to run all those npm packages the community already installed, and solving that Rust-JavaScript interoperability is not trivial. That is why, says Zakas, JavaScript plugin support came late to Rust-based linters.
Zakas also separates out the real question behind “why not Rust”: what people actually want to know is why ESLint isn’t faster, not what language it’s written in. Here he makes an uncomfortable point for the usual narrative: JavaScript isn’t slow, V8 compiles to machine code, and in Node.js you can enable a compile cache so unchanged code doesn’t get recompiled. The real problems are elsewhere, like deoptimizations (when V8 can’t compile a function and falls back to interpreting it), the garbage collector, which Zakas points to as Rust’s real advantage because you never have to worry about freeing memory there, and slow paths in certain operations.
This distinction connects to a long-standing request from the community itself. In issue #3565, someone offered a $500 bounty for support to lint multiple files in parallel, an architecture problem, not a language one. Issue #3458 also asked for the ability to declare plugins as dependencies of a shared configuration, another sign that ESLint’s friction usually comes from how work is organized between plugins, not from how fast each line of JavaScript runs. The same ecosystem effect shows up outside GitHub: in a Hacker News comment, user phendrenad2 sums up why teams stick with the popular tool even when it isn’t the fastest one: “using what’s popular is what gets you a job.”
flowchart TD
A["Your JS/TS code"] --> B["Espree: parser"]
B --> C["AST"]
C --> D["Rules (npm plugins)"]
D --> E["Error report"]
F["npm ecosystem"] --> D
What we tested: installing ESLint in an isolated sandbox
To get a closer look at the ecosystem Zakas talks about, we cloned and tried to install the eslint/eslint repository in an isolated sandbox running Node v18.20.4, git 2.39.5, and Python 3.12.16 on Linux. Cloning worked fine:
git -c protocol.allow=never -c protocol.https.allow=always -c core.hooksPath=/dev/null clone --depth 1 --single-branch --no-tags -- https://github.com/eslint/eslint /tmp/lab-runs/lab-xqxx_b_r/w/repo
Cloning into '/tmp/lab-runs/lab-xqxx_b_r/w/repo'...
The repository is about 29.5 MB, and cloning took 4.916 seconds with a peak memory of 56.3 MB. The problem showed up in the next step, installing dependencies with npm:
npm install --no-audit --no-fund
npm ERR! Trying https://github.com/uhop/node-re2/releases/download/1.27.2/linux-x64-108 ...
npm ERR! Building locally ...
npm ERR! > [email protected] rebuild
npm ERR! > node-gyp -j max rebuild
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack TypeError: Cannot read properties of undefined (reading 'bind')
npm ERR! gyp ERR! stack at Object. (/tmp/lab-runs/lab-xqxx_b_r/w/repo/node_modules/undici/lib/interceptor/decompress.js:78:30)
The install failed (exit code 1) after 32.181 seconds and a peak of 850.6 MB of memory. npm couldn’t find a prebuilt binary for re2, the native regular expression engine used by one of undici‘s dependencies, and tried to compile it with node-gyp, which broke before finishing.
The finding isn’t about ESLint itself, whose code remains pure JavaScript, but about the dependency chain that any modern Node.js project drags along. Even a project that is, by its author’s own account, entirely JavaScript pulls in natively compiled modules underneath, and those are exactly the ones most likely to fail to install in a new environment. Zakas’s argument that ESLint is JavaScript describes the code the team writes, not the full node_modules tree that ends up on your machine.
ESLint vs. swc vs. standard: three ways to solve the same problem
Zakas’s argument makes more sense next to other projects that share the ECMAScript space on GitHub but made different decisions.
| Project | Language | What it is | What it solves differently |
|---|---|---|---|
| ESLint | JavaScript | Pluggable linter for JS/TS, about 27,700 stars as of December 5, 2026 | Prioritizes the plugin ecosystem and the team’s iteration speed over raw execution speed |
| swc | Rust | Platform for the web (compiler, bundler, and tooling), about 34,200 stars as of December 5, 2026 | Bets on Rust’s native performance from the design stage, at the cost of a smaller plugin ecosystem than ESLint’s |
| standard | JavaScript | Style guide with a linter and autofixer, about 29,400 stars as of December 5, 2026 | Solves rule-configuration fatigue by removing configuration, not by rewriting the engine |
None of the three solve the same problem that rewriting ESLint in Rust would, in the same way. swc shows that you can build a fast JavaScript tool in Rust from scratch, but starting from zero, without the backward-compatibility burden ESLint carries. standard, meanwhile, stays in JavaScript and tackles a different problem, rule-decision fatigue, which confirms Zakas’s point that the JavaScript-contributing community is still huge and active. The tc39/proposals repository itself, with about 19,200 stars as of December 5, 2026, tracks the language proposals ESLint has to keep understanding every year, another task that gets simpler if your team already thinks in JavaScript.
When this logic doesn’t apply
Zakas’s argument isn’t universal. If your organization is building a new tool from scratch, without a user base or a plugin ecosystem to protect, starting in Rust (as swc did) avoids carrying that debt from day one. It also applies if your real pain point is speed in a giant monorepo and you can live with a smaller rule set: there, a Rust-based linter, even with fewer plugins, can justify the migration.
The logic also doesn’t cover the risk our test turned up. The friction of installing native dependencies, like re2 in this case, doesn’t depend on whether your linter is written in JavaScript or Rust, but on the package chain the whole project drags along. Switching the linter’s language doesn’t save you from that problem if you keep installing npm packages with native dependencies somewhere else in the project.
What this means for your project
If you maintain a Node.js project with ESLint in your CI pipeline, don’t expect a Rust version anytime soon: the creator himself explains that the team has neither the time nor, as a priority, the interest to rewrite it. If your pain point is lint speed on a large repository, check first whether the problem is parallelizing files (the request in issue #3565 is still an open idea) before migrating to another tool with fewer plugins.
If instead your Node project install fails with node-gyp errors similar to the one we saw in the sandbox, the problem isn’t ESLint or JavaScript: check that you have Python and native build tools (build-essential on Linux, Xcode Command Line Tools on macOS), or pin a Node version with prebuilt binaries available for that specific native dependency.
References
- eslint/eslint discussion #21626: Nicholas C. Zakas’s full answer on why not to rewrite ESLint in Rust
- eslint/eslint: official repository, license, main language, and project statistics
- Release v10.16.0: ESLint’s latest published version
- Issue #3565: long-standing request to parallelize linting across multiple files
- Issue #3458: request to declare plugins as dependencies of a shared configuration
- Hacker News comment: community argument on why teams stick with the popular tool
- swc-project/swc: web platform written in Rust
- standard/standard: JavaScript style guide with a linter and autofixer
Featured image: Foto de Egor Komarov en Unsplash
How each article is made (sources, testing and editorial criteria): How we work.
Did it work for you? Got a different error? Say so below: questions get answered and help the next reader.
Leave a comment
0 Comments