logoalt Hacker News

austin-cheney • today at 1:54 PM • 3 replies • view on HN

For this tool speed is entirely the wrong point of focus.

1. While the tool may not be as fast as possible it is reasonably fast and certainly enough given that it’s a dev tool and not a part of consumer end services.

2. Security and size are much greater problems that require overwhelmingly less labor to accomplish. ESLint has too many dependencies at too great a nested depth. This really blows out the size of the application far beyond its initial footprint and completely opens it to the various exploits that come from malicious dependency injection.

3. ESLint cannot be rewritten into another language without solving for the prior concern first.


Replies

demosthanos • today at 2:52 PM

I agree that ESLint's dependency problems are really bad and a higher priority for them to fix, but I think you're downplaying speed far too much, at least after the advent of AI.

Linting is more important now than ever, and on my laptop it now gets run easily 50+ times on a typical workday.

The difference between a 2 minute lint and a 2 second lint, on 50 lint runs per day, is the difference between 1.6 hours just spent linting versus 1.6 minutes spent on linting.

And that's before we get to the fact that oxlint's memory usage is so low relative to ESLint that I can actually do something else while oxlint runs in the background, where ESLint would regularly force me to stop what I was doing while it ran!

➕ show 1 reply
vikramkr • today at 2:05 PM

CI speed and lint speed is a bottleneck and increasingly large percentage of time and cost with agent driven dev. It's a bottleneck

IshKebab • today at 2:04 PM

"Speed is not the focus" doesn't sound so good when another tool is just as competent and much faster.

> given that it’s a dev tool

So devs don't deserve fast tools?

➕ show 1 reply