Skip to content

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

@lijunle

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.

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