logoalt Hacker News

david_p • yesterday at 1:48 PM • 8 replies • view on HN

In case some people here are unaware, this project seems relevant to the conversation: https://oxc.rs/docs/guide/usage/linter

  Oxlint is a high-performance linter for JavaScript and TypeScript built on the Oxc compiler stack. 
  Oxc: The Oxidation Compiler is a collection of high-performance tools for JavaScript and TypeScript written in Rust.

Replies

Koffiepoeder • yesterday at 1:53 PM

For people that run a lot of eslint in pipelines, for us switching to oxlint saved around 150h of compute time per week in our runners.

Slow linting is not just a nuisance but also a real cost. FWIW the new ts compiler was around 600h runtime saved per month. And we're only a small team.

➕ show 5 replies
load-bearing • yesterday at 2:38 PM

biome too, I've been using it for years after removing eslint from one of the projects and seeing about a thousand packages gone (IIRC).

Removed it from every other project I have any control over right after that.

biome supports all important rules and is probably 100× faster at least. Has its own dependencies of course, but statically linked native code is easier to swallow somehow.

https://biomejs.dev/

➕ show 2 replies
kadhirvelm • yesterday at 11:11 PM

Any idea how Oxlint compares to biome? We’ve been having a lot of success after migrating to that, but didn’t do a benchmark against this

KronisLV • yesterday at 2:09 PM

Moved to Oxlint and Oxfmt, am really happy with it! Doesn't have every feature of ESLint and Prettier, but that was inconsequential because I wanted to get at least 80% there but with much better performance, and it lived up to that.

➕ show 1 reply
silverwind • yesterday at 2:15 PM

Oxlint is good for speed but still lacking in terms of rule coverage of what advanced eslint setups can provide.

➕ show 1 reply
NewLogic • yesterday at 3:31 PM

Does anyone know if the type aware linting will get even faster with tsgo 7.1 programmatic API.

➕ show 1 reply
worik • yesterday at 7:53 PM

That is good

No need to rewrite eslint then, even if there ever was a "need"