Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Fixed no-unnecessary-local-variable for recursive variable references #420

Closed
wants to merge 4 commits into from
Closed

Fixed no-unnecessary-local-variable for recursive variable references #420

wants to merge 4 commits into from

Conversation

JoshuaKGoldberg
Copy link

@JoshuaKGoldberg JoshuaKGoldberg commented Mar 21, 2018

If a variable references itself in its own initialization, the rule will no longer complain about it.

Fixes #381

@JoshuaKGoldberg
Copy link
Author

I also fixed up casts, but didn't change from null to undefined.

@HamletDRC HamletDRC closed this in 1b879df Apr 16, 2018
@HamletDRC HamletDRC added this to the 5.0.4 milestone Apr 16, 2018
@JoshuaKGoldberg JoshuaKGoldberg deleted the no-unnecessary-local-variable-rule-uses branch April 16, 2018 07:12
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.

2 participants