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

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

Closed
charles-allen opened this issue Feb 11, 2021 · 0 comments · Fixed by #253
Closed

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

charles-allen opened this issue Feb 11, 2021 · 0 comments · Fixed by #253
Milestone

Comments

@charles-allen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants