logoalt Hacker News

david_p • today at 1:48 PM • 6 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 • today 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 3 replies
NewLogic • today at 3:31 PM

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

KronisLV • today 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.

load-bearing • today 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/

silverwind • today 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