We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When configuring default options for ESLint through VSCode options, the env option is ignored:
env
// VSCode settings { "eslint.options": { "rules": { "no-undef": ["error"] }, "env": { "browser": true } } }
// Any JavaScript file, errors with "'alert' is not defined" alert('baz')
Notes:
.eslintrc
A reproduction repository can be found at loilo/repro-vscode-eslint-676.
The text was updated successfully, but these errors were encountered:
Actually this is a quirk in npm ESLint itself. In the options for the CLIEngine this is called envs not env. See https://eslint.org/docs/developer-guide/nodejs-api#cliengine
envs
Sorry, something went wrong.
Weird. Thanks for investigating!
No branches or pull requests
When configuring default options for ESLint through VSCode options, the
env
option is ignored:Notes:
.eslintrc
file.A reproduction repository can be found at loilo/repro-vscode-eslint-676.
The text was updated successfully, but these errors were encountered: