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

Chore: enable no-multiple-empty-lines on ESLint codebase #8694

Merged
merged 1 commit into from Jun 8, 2017

Conversation

not-an-aardvark
Copy link
Member

@not-an-aardvark not-an-aardvark commented Jun 7, 2017

What is the purpose of this pull request? (put an "X" next to item)

[x] Other, please explain:

What changes did you make? (Give an overview)

This enables no-multiple-empty-lines on the ESLint codebase.

(refs #8679 (comment))

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

I configured the rule to warn when more than 1 consecutive line appears in the middle of a file. Is this too strict? If so, I can change it to 2 (the default), which reports fewer existing problems.

@eslintbot
Copy link

LGTM

@not-an-aardvark not-an-aardvark added the chore This change is not user-facing label Jun 7, 2017
@mention-bot
Copy link

@not-an-aardvark, thanks for your PR! By analyzing the history of the files in this pull request, we identified @gyandeeps, @mysticatea and @nzakas to be potential reviewers.

@platinumazure
Copy link
Member

This section of our coding conventions suggests we should set the rule to two blank lines. Not sure how closely we might be following it, though.

@eslintbot
Copy link

LGTM

@not-an-aardvark
Copy link
Member Author

Thanks for pointing that out, updated to enforce at most 2 blank lines within a file instead of 1.

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 chore This change is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants