-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix multiline boilerplates #1544
Fix multiline boilerplates #1544
Conversation
Go permits multiline, block-style comments. It's common for boilerplates to utilize these for licences (e.g. Apache-2.0's standard boilerplate). This PR removes the line-by-line stripping of whitespace, and adds a test for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@cblecker thanks for the PR!
@estroz Thanks for the review. Anything else required to merge? |
@cblecker just waiting on more reviews. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know, thanks for your PR!
lgtm
Go permits multiline, block-style comments. It's common for boilerplates to utilize these for licences (e.g. Apache-2.0's standard boilerplate). This PR removes the line-by-line stripping of whitespace, and adds a test for it.
Description of the change:
Go permits multiline, block-style comments. It's common for boilerplates to utilize these for licences (e.g. Apache-2.0's standard boilerplate).
This PR removes the line-by-line stripping of whitespace, and adds a test for it.
Motivation for the change:
Allow existing projects with compliant, multiline boilerplates to use them.