How can I use one eslint ruleset for Node.js side Javascript and another ruleset for clientside Javascript in VS Code?
./.eslintrc
at root folder for your back-end./client/.eslintrc
. Add root: true
in your ./client/.eslintrc
if you want to fully dissociate client linting from back-end linting.ESLint configuration files follow "first found" rules
ESLint will automatically look for them in the directory of the file to be linted, and in successive parent directories all the way up to the root directory of the filesystem (unless root: true is specified)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With