5 ms·
> 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 motivat
by Xenograph 6y 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?
- developit 6y agotbh 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.
- franga2000 6y agoStill, 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)
- developit 6y agoOh I totally agree it's strange, haha. The cost tends to be magnified in Node land since everything is a million files.