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

Update: fix false negative of arrow-spacing (fixes #7079) #7080

Merged
merged 1 commit into from Sep 9, 2016
Merged

Conversation

mysticatea
Copy link
Member

@mysticatea mysticatea commented Sep 8, 2016

Fixes #7079.

Original logic does traversing to right from the head of arrow function nodes, so it's going to stop at => token in default parameters.
New logic does traversing to left from the head of arrow function body.

Semver-minor: this fix can increase warnings.

@mention-bot
Copy link

@mysticatea, thanks for your PR! By analyzing the annotation information on this pull request, we identified @vitorbal, @alberto and @kaicataldo to be potential reviewers

@eslintbot
Copy link

LGTM

@kaicataldo
Copy link
Member

LGTM. Waiting a few more days for others to review before merging.

@nzakas
Copy link
Member

nzakas commented Sep 9, 2016

LGTM

@nzakas nzakas merged commit 08fa538 into master Sep 9, 2016
@mysticatea mysticatea deleted the issue7079 branch September 9, 2016 19:05
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arrow-spacing has false negative
6 participants