Echo JS 0.11.0


chris-l comments

chris-l 74 days ago. link 1 point
Hey, just don't stop downvoting and reporting spam.
chris-l 122 days ago. link 2 points
> with 0 install

Well, that is somewhat incorrect; unless you already have it installed, npx will download prettier and do a temporal installation.

So, if you DON'T have prettier installed locally on your project or globally, and then you try to execute it with the --no-install flag (so it actually doesn't install anything), like this:

:%! npx -q --no-install prettier

It will fail.

Installing it globally perhaps would be better. Otherwise you are downloading prettier over and over each time you try to format your code (and by not having to download it, the command will be executed faster).