eslint-plugin-header
eslint-plugin-header copied to clipboard
Preserving new lines at the end of the template file (fixes #37)
This PR fixes #37.
Implementation details:
- the comment parser now returns a third array value with the number of new lines at the end of the given comment
- the initialization function runs the parser before setting the new lines count and EOL format in order to base its decisions on the template file content (if available)
- tests have been updated to support the new parser feature and check that both UNIX and Windows EOLs work properly
I hope that this can be useful, please feel free to ask for changes or any further information.
Thank you for your time.
Hi @Stuk, I'm tagging you just to check if this project is still active or not.
Thank you for your time.
Hi @Stuk, I'm sorry to bother you, but do you have any news about this?
@Stuk This is really useful feature
Thank you @MaxGsomGsom, unfortunately I'm not receiving any feedback from @Stuk. Maybe he's busy or doesn't have the notifications enabled.
Cool feature! Thanks, @liarco