Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Labels
Milestone
Description
Repro
I created a repo to reproduce the problemhttps://github.com/restrry/typescript-eslint-scope-bug
{"rules": {"@typescript-eslint/no-shadow":"error" }}enumDirection{left='left',right='right',}
Expected Result
No errors reported.
Actual Result 1:6 error 'Direction' is already declared in the upper scope @typescript-eslint/no-shadow
Versions
| package | version |
|---|---|
@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 |