Hacker News new | ask | show | jobs
by Xenograph 2026 days ago
> If you'd like ESLint to be set up for you, add --eslint to the command. Note: this will use 150mb of disk space.

This is insane. No wonder they were motivated to create a minimal development tool. How could a CLI linter require 150 MB of disk?

1 comments

tbh I think a good chunk of that size is babel-parser, which we're looking into removing from the preact ESLint preset. Still quite a difference though.
Still, that's just a parser, right? An entire Python installation can fit in that space - parser, interpreter, stdlib and package manager. (and I'm sure many others too, python is just what I'm familiar with)
Oh I totally agree it's strange, haha. The cost tends to be magnified in Node land since everything is a million files.