Remix.run Logo
▲ david_p an hour ago

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.
▲Koffiepoeder an hour ago | parent | next [-]

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.

▲tobz1000 an hour ago | parent | next [-]

Switching from native [TS + prettier + eslint], to [tsgo + oxfmt + oxlint], lowered my laptop's average temperature by 10-15 degrees at work.

▲prokopton 9 minutes ago | parent | next [-]

Void Zero put out a tsrs package too.

▲uncooks an hour ago | parent | prev [-]

[dead]

▲rozenmd 13 minutes ago | parent | prev | next [-]

just the move from eslint to oxlint saved my team something like 3.75 days of compute per calendar day.

▲sorahn an hour ago | parent | prev [-]

switching one of our repos from eslint to oxlint:

- macbook pro: 50s => ~3ms

- ci server: 3m => ~6s

▲KronisLV an hour ago | parent | prev | next [-]

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 25 minutes ago | parent | prev | next [-]

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 an hour ago | parent | prev | next [-]

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

▲demosthanos 39 minutes ago | parent [-]

Oxlint supports most of eslint's plugin API and you can actually lift any rules from eslint that are still missing and vendor them and use them as plugins.

Even if you find a gap where a plugin isn't supported, vibe coding an eslint/oxlint plugin for anything you need takes a few minutes at this point.

The main gap right now is there are no type-aware plugins, but as a stopgap you can vibe code a tiny custom linter on top of the new TypeScript and reap most of the speed benefits now, then port to oxlint once type-aware is ready.

▲ an hour ago | parent | prev [-]
[deleted]