nikku / eslint-plugin-license-header

Rules to validate the presence of license headers in source files.
MIT License
27 stars 9 forks source link

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

Closed srl295 closed 2 years ago

srl295 commented 2 years ago

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

Closes #8

nikku commented 2 years ago

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

srl295 commented 2 years ago

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

Great, will do

srl295 commented 2 years ago

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

nikku commented 2 years ago

Thanks for your quick response. Merged with some minor adjustments via https://github.com/nikku/eslint-plugin-license-header/pull/10.

srl295 commented 2 years ago

@nikku welcome. Thank you for this plugin!