[no-shadow] False positive with const enum and module augmentation< 8000 /bdi> #2484
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
Repro
Expected Result
There should be no eslint error, because nothing is shadowed.
Actual Result
Eslint indicate an error for both the const enum and the re-defined interface.
Additional Info
This is a regression, my code was compiling without complaining before I upgraded to latest versions.
I write this issue here because it is related to Typescript and may also be related to the correction of #325.
Versions
@typescript-eslint/eslint-plugin
4.0.1
@typescript-eslint/parser
4.0.1
TypeScript
4.0.2
ESLint
7.8.1
node
14.4.0
The text was updated successfully, but these errors were encountered: