iwarapter / sonar-puppet

SonarQube plugin for Puppet code.
Other
26 stars 10 forks source link

Check for proper lf or crlf #276

Open peterkga opened 6 years ago

peterkga commented 6 years ago

During our initial implementation of GitHub packaged by teamcity and pushed by octopus, a file was copied to the puppet server with the wrong end of line character (was using windows end of line character vs linux end of line character) causing access problems to the server. It would be great to have a SonarQube check for the proper end of line character based on OS. I know you can set a config in GitHub to handle this but getting locked out of a server is a critical check in the migration of code/files.