Skip to content

No blank lines at BOF (no-multiple-empty-lines) #182

@charles-allen

Description

@charles-allen

What version of this package are you using?
^16.0.2

What problem do you want to solve?
Ugly blank lines at the beginning of files

What do you think is the correct solution to this problem?
Use the maxBOF setting for the no-multiple-empty-lines rule:

- "no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],
+ "no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }],

Are you willing to submit a pull request to implement this change?
Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions