standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

charles-allen opened this issue · comments

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