-
Notifications
You must be signed in to change notification settings - Fork 80
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
Don't insert blank lines between line comments at the end of files #401
Conversation
heh, we didn't feel this internally because we have a blank line between the first line (comment) and the package statement :) |
@cgrushko has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
There was already code/testing for this, but it wasn't covering a strange case where a comment was the first line of the file.
Done |
@cgrushko has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Apologies for the delay, everybody seems to be unavailable this week at the same time :( |
Yeah, I know the feeling. Here too. |
Overall this looks like a good improvement. With this change this code here, which should not be touched
Gets formatted to this – removing empty line separating package declaration and imports
Could you take a look into this? |
There was already code/testing for this, but it wasn't covering a strange case where a comment was the first line of the file.