Can't Disable Env #4463
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
triage
An ESLint team member will look at this issue soon
First, thanks for all the hard work on the ESLint project. ESLint is a fantastic gift to the JS community and makes coding more fun and more efficient every day.
I'm having trouble "turning off" an environment in my
.eslintrc
file.My directory structure looks like this:
In my
__TEST__
directory I'd like to turn off the "browser" env so that browser globals are flagged, since my mocha tests are run on node.Currently,
__TEST__/.eslintrc
is configured like this:Unfortunately, the
"browser": false
does not disable the top-level setting.Your help is appreciated!
NOTE: Glob based configuration (#3611) will remove the need for this approach.
The text was updated successfully, but these errors were encountered: