ESLint maintainer explains why ESLint is not being rewritten in Rust

A GitHub discussion titled "Why not rewrite ESLint in Rust?" (discussion #21626 in the eslint/eslint repository, dated Dec 3, 2026) carries a long answer from nzakas, an ESLint maintainer. The discussion sits in the General category and is marked unanswered. He argues that a Rust rewrite is more complicated than the question suggests, and gives eight reasons.
Team capacity: ESLint is maintained by volunteers, with no full-time maintainers, and a rewrite would demand more time than the team has. Expertise: contributors know JavaScript and TypeScript well, far fewer know Rust, and switching would alienate much of the contributor base. Dogfooding: the team lints ESLint with ESLint, so it feels users' pain points firsthand, and a Rust codebase would weaken that feedback loop.
Ecosystem: custom rules, parsers and plugins are all JavaScript, so a rewrite would have to support them, which is technically hard. Performance: JavaScript is not inherently slow, he says. The main costs are deoptimizations, garbage collection and slow code paths. Recent changes, including a new AST traversal approach, cut runtime by 9-10% on large codebases in his tests, and more improvements are planned.
Identity: a rewrite would change the team, the core and the ecosystem enough to raise the question of whether it is still "ESLint." Starting over: he will not start a new project, citing his health and lack of financial support.
Rust is not ruled out entirely. He says he is open to using Rust selectively, for example through napi-rs native modules, and that a Rust version of the new TypeScript parser is being explored.
The thread has about 15 comments plus one reply. Most commenters thank nzakas for his work and wish him well with his health, and several support keeping ESLint in JavaScript. One commenter, conartist6, offers to present a proposal for a unified ESTree-based data representation to the steering committee. Others make lighter remarks, including a suggestion to use LEAN and a prediction that AI will handle a migration in 2027. One reply pushes back that the maintainer would have to keep up any fork, and another argues that language choice is just an engineering decision.
Key facts
- ESLint maintainer nzakas answered "Why not rewrite ESLint in Rust?" in GitHub discussion #21626 on Dec 3, 2026, giving eight reasons against a full rewrite.
- ESLint is maintained by volunteers with no full-time maintainers, and custom rules, parsers and plugins are all JavaScript, so a rewrite would have to support them.
- He says JavaScript is not inherently slow; recent changes including a new AST traversal approach cut runtime by 9-10% on large codebases in his tests, with more improvements planned.
- He is open to using Rust selectively, such as through napi-rs native modules, and a Rust version of the new TypeScript parser is being explored.
- About 15 comments mostly thank him and wish him well with his health; conartist6 offers to present an ESTree-based data representation proposal to the steering committee.
Why it matters
"Rewrite it in Rust" is a common suggestion for JavaScript developer tools that are seen as slow. ESLint is one of the most widely used linters, and its maintainer sets out in one place why the project is not following that path: a volunteer team, a JavaScript plugin ecosystem, and a claim that the slowness is in specific costs rather than in the language. The answer also says where Rust may still enter, through native modules and a parser.
Who it affects
People who write ESLint custom rules, parsers or plugins are the most directly affected, since the maintainer says these are all JavaScript and a rewrite would have to support them. ESLint contributors are affected too: he says most know JavaScript and TypeScript and far fewer know Rust. Users on large codebases may care about the planned performance work.
How to use it
Nothing changes for ESLint users today. The discussion describes no new release or option to adopt. Teams that care about speed can watch for the performance improvements the maintainer says are planned, and for the exploration of a Rust version of the new TypeScript parser. Anyone with a concrete design idea can follow conartist6, who offers to present an ESTree-based data representation proposal to the steering committee.
How solid is it
The claims come from the maintainer himself, in an official ESLint repository discussion. The 9-10% runtime reduction is from his own tests on large codebases, and no baseline, hardware or codebase is given. No timescale is given for the planned improvements or for the Rust TypeScript parser. The text available for this retelling is a condensed rendering of the page, so the wording of the original post and comments is not reproduced here.
Risks and caveats
This is one maintainer's position in a discussion marked unanswered, not a formal project decision. No steering committee decision on the ESTree proposal is reported. Exploring a Rust TypeScript parser is not a commitment to ship one, and it is not stated who is building it. The nature of the maintainer's health problem is not stated. In the thread, one reply argues that language choice is just an engineering decision, so the debate is not settled.