DEV Community

Discussion on: Setting up a Minimal, Yet Useful JavaScript Dev Environment

Collapse
 
kamilogorek profile image
Kamil Ogórek

It's because I don't use npm global installation in this article. If you want it to be accessible from anywhere, you have to write npm install -g standard.
However, if you use it withing package.json scripts, then it can be installed locally, without -g flag and it will still run when done through npm run lint or any other npm script.