Verified, then logged.
Sun 6 Dec 2026 · 07:57 KST / 22:57 UTC한국어 | ENSearch /

Breaking01 / AI

ESLint founder favours optimisation over Rust rewrite

A new TypeScript parser could use Rust, while JavaScript optimisations cut runtime by 9–10% in the founder's tests.

Nicholas C. Zakas, the creator of code analysis tool ESLint, said on GitHub on 3 Dec 2026 that a complete rewrite in Rust was unlikely. He favours optimising the existing JavaScript code while considering Rust for selected modules.

ESLint's custom linting rules, plugins and parsers are built around the JavaScript ecosystem. Zakas said a complete rewrite would require solving interoperability problems between Rust and JavaScript to support the existing npm packages that users rely on.

One candidate for Rust is a new TypeScript parser, which analyses code structure and has been implemented in both TypeScript and Rust. Depending on the performance comparison, ESLint could adopt native Node.js modules for other functions.

JavaScript optimisation is already under way. A change to how ESLint traverses abstract syntax trees (ASTs), which represent code structure, reduced its runtime by 9–10% on large codebases in Zakas's own tests.

A technical design proposal submitted on 19 Nov 2026 describes storing traversal information in parallel arrays to reduce memory allocations. It also provides for compatibility with the existing iteration mechanism during the transition.

Limited development resources are another obstacle to a complete rewrite, Zakas said. ESLint has no full-time maintainers, and its most active team members devote around 10 hours a week to the project. Most spend less time.

ESLint's modernisation plan, published on 2 Dec 2026, proposes integrating TypeScript directly into its core toolchain. It also calls for optimising linting across different environments, including command-line tools and editors, and supporting rules that span multiple files.

The release date and ESLint version for the Rust-based parser have not been disclosed. Zakas expects overall performance to improve as a series of optimisations rolls out over the next few months.