I believe that this is done by checkstyle.
I found this on the checkstyle project:
https://github.com/checkstyle/checkstyle/issues/893
<module name="RegexpMultiline">
<property name="format" value="\r\n"/>
<property name="message" value="Do not use Windows line
endings"/>
</module>
2015-06-10 8:41 GMT-03:00 Lukas Kubik <lkubik(a)redhat.com>:
Hi,
I'm sorry that this is a little bit off-topic question but I already asked
in the forum and nobody answered me. How do you guys deal with the line
endings unification in your github repo? I saw that you don't have for
example .jsp files in the .gitattributes file however all .jsp files in the
WF repo uses LF ending. How do you check that windows CRLF won't get merged
with some PR?
We are currently discussing the unification of the line endings in the
Keycloak repo so I would like to kindly ask you for any advice.
Thank you for the answer.
Regards,
Lukas
_______________________________________________
wildfly-dev mailing list
wildfly-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev
--
__________________________
Eduardo Sant'Ana da Silva - Dr.
Pesquisador / Consultor de TI