(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
fl0w
fl0w7mo ago
you can use the cli: npx eslint . or (npm run lint), for TS linting you can use this experimental setting in VSC:
No description
fl0w
fl0w7mo ago
@Path of Epoch
Path of Epoch
Path of EpochOP7mo ago
Ah, makes sense. I tried > eslint instead of > npx eslint ^^ ❤️
fl0w
fl0w7mo ago
btw you can use the --fix param to autofix some problems :)
Want results from more Discord servers?
Add your server