Skip to content

Only allow one blank line between blocks and at EOF #552

Description

@lijunle

Currently, the style.js enforces at most two lines:

// disallow multiple empty lines
'no-multiple-empty-lines': [2, {'max': 2}],

Should this follow this suggestion to enforce the max blank line to only 1?

Besides, this will affect the allowed blank line at the end of the file, too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions