Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Fixes for no-shadowed-variable rule #1482

Merged
merged 4 commits into from
Aug 17, 2016

Conversation

IllusionMH
Copy link
Contributor

Fixes #1258

Also I'm working on fix for #1099. Is it appropriate to send several fixes for one rule in one PR?

@adidahiya
Copy link
Contributor

@IllusionMH re: multiple fixes in one PR -- use your discretion. if they're related fixes then 👍

@IllusionMH
Copy link
Contributor Author

I've reverted previous commit because there is better way to skip index signatures which is similar to other cases. Also added few test cases for index signatures.

Also added fix for #1099 to this PR since it is similar to function types (was implemented previously) and index signatures.

@jkillian
Copy link
Contributor

Looks good to me, thanks @IllusionMH!

@jkillian jkillian merged commit 68ce8d5 into palantir:master Aug 17, 2016
soniro pushed a commit to soniro/tslint that referenced this pull request Aug 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive for no-shadowed-variable with multiple index definitions
3 participants