[no-shadow] False positive for enum #2360
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
Repro
I created a repo to reproduce the problem https://github.com/restrry/typescript-eslint-scope-bug
Expected Result
No errors reported.
Actual Result
1:6 error 'Direction' is already declared in the upper scope @typescript-eslint/no-shadow
Versions
@typescript-eslint/eslint-plugin
4.0.0-alpha.5
@typescript-eslint/parser
4.0.0-alpha.5
TypeScript
3.9.5
ESLint
6.8.0
node
10.21.0
npm
N/A
yarn
1.21.1
The text was updated successfully, but these errors were encountered: