New lines property in checkstyle.xml configuration file
checkstyle.xml, I'd like to replace one of the last line:
<module name="NewlineAtEndOfFile"> <property name="lineSeparator" value="lf"/> </module>
The reason is that I am using Windows operating system (I know...).
I configured my editor to use unix-style end of lines ("lf"), so that when I'm pushing code I'm not messing around the whole git.
However, my operating system being what it is, checkstyle wants to see "CR/LF" ends of line at the end of every java files. So it raises an error for all the files in
I've been using the property above for a while now. It works well and I think it could benefit to other developers that are also using Windows OS (if there is any...).
Do you think it's a good idea ?
I'm not sure whether it can have some side effects on Linux OS or on someone's repository who would have an IDE configured differently.