-
Notifications
You must be signed in to change notification settings - Fork 206
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
Puppet-lint should warn on files that do not end with a trailing newline #188
Comments
Yeah, well, that's just, like, your opinion, man |
I'd be interested in this feature as well. |
trailing newlines are not in the style guide... |
+1 to @Aethylred @wfarr great suggestion for puppet parser validation. I've been bit on line endings before (thank you perforce for that feature of changing them for me) and this functionality would have saved me a ton. |
Slightly off topic, similarly Windows line endings (CRLF) should be picked up by the parser and not puppet-lint doing style checks. (usually more of an issue for Ruby than Puppet...) |
This check has been implemented as an external plugin https://github.com/rodjek/puppet-lint-trailing_newline-check |
May be worth re-opening this and integrating the plugin as a first-class feature the docs now specifically mention ending the last line with a new line. |
…d_on_prs pdksync - (CAT-770) - Update mend to run on pull_request_target
this is 2013
👑💩
The text was updated successfully, but these errors were encountered: