New issue
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
not work "builtinGlobals" in rule "no-redeclare" #8814
Comments
Not 100% sure what's going on here, to be honest. Seems like a potential bug, but it might just be that your configuration needs to have a particular setting and we need to update the docs. Unfortunately, I can't tell immediately from the rule's source code. |
I turning offall rule in my configuration file. And testing with the clean project. My module.exports = {
env: {
browser: true,
es6: true,
jquery: true,
node: true
},
extends: 'eslint:recommended',
parserOptions: {
ecmaVersion: 2017,
sourceType: 'script',
ecmaFeatures: {
experimentalObjectRestSpread: true
},
}
}; |
Because you have |
Per @mysticatea above, this is working as intended. @boggddan I see that the |
@mysticatea, Thanks. It does work! |
Good point @boggddan, we should add a note about module scope for Node and similar environments and recommend |
Tell us about your environment
v4.0.0
v8.0.0
v5.0.0
Hi, maybe I finded bug.
Not wokr rule property "builtinGlobals" in rule "no-redeclare".
console message without error "no-redeclare"
The text was updated successfully, but these errors were encountered: