Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-shadow rule false positive #8

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

mortnod
Copy link
Contributor

@mortnod mortnod commented Mar 23, 2021

When using react-typescript-recommended, the no-shadow rule gave a false positive. Turns out the rule needs to be deactivated and replaced with a Typescript specific version.

For more, see typescript-eslint/typescript-eslint#2484

@mortnod mortnod self-assigned this Mar 23, 2021
@mortnod mortnod merged commit 85e19b9 into master Mar 23, 2021
@mortnod mortnod deleted the mortnod+simenaa/false-positive-no-shadow-rule branch March 23, 2021 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant