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

Restrict empty lines at beginning of file #2042

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@JBallin
Copy link
Contributor

commented Jun 10, 2019

Related: #1794 (only covered EOF).

no-multiple-empty-lines:

- "max" (default: 2) enforces a maximum number of consecutive empty lines.
- "maxEOF" enforces a maximum number of consecutive empty lines at the end of files.
- "maxBOF" enforces a maximum number of consecutive empty lines at the beginning of files.
@ljharb
Copy link
Member

left a comment

Can you also update https://github.com/airbnb/javascript#whitespace--no-multiple-empty-lines to mention the beginning of files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.