(solved) How to eslint the whole project in VS Code?
VS code highlights open files using the eslint config, but how do I lint the whole project? (i.e. also file I don't currently have open)
5 Replies
you can use the cli:
npx eslint .
or (npm run lint), for TS linting you can use this experimental setting in VSC:@Path of Epoch
Ah, makes sense. I tried > eslint instead of > npx eslint ^^ ❤️
btw you can use the --fix param to autofix some problems :)