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

eslint: update 'no-multiple-empty-lines' rule #7184

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Conversation

vince-fugnitto
Copy link
Member

Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com

What it does

The pull-request updates the eslint no-multiple-empty-lines rule so that consecutive empty lines are forbidden. The default is to have 2 lines which is not the behavior we are looking for.

Motivation:

How to test

Update an existing TypeScript file to include 2 blank lines (eslint should now complain about the consecutive blank line).

Review checklist

Reminder for reviewers

@vince-fugnitto vince-fugnitto added the linting issues related to linting label Feb 19, 2020
@vince-fugnitto vince-fugnitto self-assigned this Feb 19, 2020
The pull-request updates the `eslint` `no-multiple-empty-lines`
rule so that consecutive empty lines are forbidden and also
fixes any violations. The default is to have **2** lines which is not the behavior we are looking for.

Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
Copy link
Contributor

@kittaakos kittaakos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you for the quick fix! 👍

@vince-fugnitto vince-fugnitto merged commit f114ded into master Feb 19, 2020
@vince-fugnitto vince-fugnitto deleted the vf/empty-lines branch February 19, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting issues related to linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants