Added checkstyle to prohibit windows line endings

Suggestion taken from jvoisin in #1121.
master
Evan Harris 5 years ago
parent 5c3c558923
commit d4aff1dca5
No known key found for this signature in database
GPG Key ID: FF3BD4DA59FF9EDC
  1. 6
      checkstyle.xml

@ -12,6 +12,12 @@
<module name="FileTabCharacter"/> <module name="FileTabCharacter"/>
<!-- This is a temporary workaround until ^M line endings is added to upstream checkstyle -->
<module name="RegexpMultiline">
<property name="format" value="\r\n"/>
<property name="message" value="Do not use Windows line endings"/>
</module>
<module name="TreeWalker"> <module name="TreeWalker">
<module name="AnnotationLocation"/> <module name="AnnotationLocation"/>
<module name="CustomImportOrder"> <module name="CustomImportOrder">

Loading…
Cancel
Save