[no-shadow] False positive on export enum X
declaration
#2471
Labels
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.
Repro
A single
export enum
in the entire compilation, with no imports, such as this:Expected Result
No lint errors
Actual Result
Additional Info
This regressed in AArnott/pr-autocomplete-app#65 where we upgrade
@typescript-eslint/parser
from 3.10.1 to 4.0.1.No matter what I name the enum, it rejects it with the same error.
Versions
@typescript-eslint/eslint-plugin
4.0.1
@typescript-eslint/parser
4.0.1
TypeScript
4.0.2
ESLint
7.8.1
node
12.16.1
The text was updated successfully, but these errors were encountered: