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

Fix: Return correct column number for no-multiple-empty-lines (fixes #7086) #7088

Merged
merged 1 commit into from Sep 9, 2016

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Sep 8, 2016

What issue does this pull request address?
#7086

What changes did you make? (Give an overview)
Changed column to be 0-based instead of 1-based

Is there anything you'd like reviewers to focus on?

@mention-bot
Copy link

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

@eslintbot
Copy link

LGTM

@eslintbot
Copy link

LGTM

1 similar comment
@platinumazure
Copy link
Member

LGTM

@RRMoelker
Copy link
Contributor

Interesting little bug. It would be a great addition if you also add a unit test for the problem:

@IanVS
Copy link
Member Author

IanVS commented Sep 9, 2016

Thanks for the review @RRMoelker. In fact, I updated all of the invalid cases by specifying the correct column number here: https://github.com/eslint/eslint/pull/7088/files#diff-4558020168345de2935e9798a1078aa9R51. That will cause the tests to fail without the fix.

@RRMoelker
Copy link
Contributor

@IanVS Hmm, somehow missed that :). So: great, LGTM.

@eslintbot
Copy link

LGTM

@IanVS
Copy link
Member Author

IanVS commented Sep 9, 2016

Actually, it was good you had me look at this again, I missed a few of the test helpers.

@nzakas
Copy link
Member

nzakas commented Sep 9, 2016

LGTM

@nzakas nzakas merged commit 2a3f699 into master Sep 9, 2016
@alberto alberto deleted the issue7086 branch December 15, 2016 22: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.

None yet

7 participants