By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.
Repro
module.exports = { extends: [], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], rules: {} enum Something { Abc = 0, Expected Result No error. Actual Result On Something I get the no-shadow error: error 'Something' is already declared in the upper scope no-shadow Versions package version you need to update your config This is a listed action item for users in the v4.0.0 release notes In case you missed the release note, this is listed in the FAQ Our extension rule's docs lists the config you should use Finally, please use the search next time. Duplicate of #2466, #2483, #2484, #2552
enum Something { Abc = 0, Expected Result No error. Actual Result On Something I get the no-shadow error: error 'Something' is already declared in the upper scope no-shadow Versions package version you need to update your config
Expected Result
No error.
Actual Result
On Something I get the no-shadow error:
Something
no-shadow
error 'Something' is already declared in the upper scope no-shadow
Versions
you need to update your config
Finally, please use the search next time. Duplicate of #2466, #2483, #2484, #2552