Running Eslint From Subdirectory
My project contains a subproject with its own .eslintrc (i.e. under ./path/to/subproject) I'm trying to run lint but it either goes to the root project .eslintrc file or it can't f
Solution 1:
So it looks like eslint
supports this
What I had to do is add "root": true
to my eslint config file, it now looks something like this:
module.exports = {
"extends": [
"configname"
],
"root": true
}
See documentation here
Post a Comment for "Running Eslint From Subdirectory"