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

fix(rules/header): trim lead/trail whitespace #9

Closed
wants to merge 1 commit into from
Closed

fix(rules/header): trim lead/trail whitespace #9

wants to merge 1 commit into from

Conversation

srl295
Copy link
Contributor

@srl295 srl295 commented Jan 13, 2022

Related to #5, use trim() so that trailing whitespace is corrected before test.

Closes #8

@nikku
Copy link
Owner

nikku commented Jan 13, 2022

Happy to consider this if you add a meaningful test case, verifying what you contribute works.

@srl295
Copy link
Contributor Author

srl295 commented Jan 13, 2022

Happy to consider this if you add a meaningful test case, verifying what you contribute works.

Great, will do

@srl295
Copy link
Contributor Author

srl295 commented Jan 13, 2022

@nikku updated to include test case that fails w/o change, and also updated docs.

*
* This source code is licensed under the WTFPL license found in the
* LICENSE file in the root of this projects source tree.
*/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline at end here

Related to #5, use trim() so that trailing whitespace is corrected before test.
Includes test case and doc update.
@nikku
Copy link
Owner

nikku commented Jan 13, 2022

Thanks for your quick response. Merged with some minor adjustments via #10.

@nikku nikku closed this Jan 13, 2022
@srl295 srl295 deleted the patch-1 branch January 13, 2022 19:15
@srl295
Copy link
Contributor Author

srl295 commented Jan 13, 2022

@nikku welcome. Thank you for this plugin!

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

Successfully merging this pull request may close these issues.

Should handle trailing whitespace in license.js
2 participants