[no-shadow] False positive for enum's #2552
Labels
duplicate
This issue or pull request already exists
fix: user error
issue was fixed by correcting the configuration / correcting the code
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Uh oh!
There was an error while loading. Please reload this page.
Version:
Repro
tsconfig
Expected Result
The linting does not throw any error about no-shadow rule.
Actual Result
ESLint claims about that TESTSHADOW is already declaed in the upper scope.
Additional Info
Debug output: **eslint --debug vuejs/library/TEST_SHADOW.ts **
Versions
@typescript-eslint/eslint-plugin
4.1.0
@typescript-eslint/parser
4.1.0
TypeScript
4.0.2
ESLint
v7.9.0
node
v12.1.0
The text was updated successfully, but these errors were encountered: