diff options
Diffstat (limited to 'checkstyle')
-rw-r--r-- | checkstyle/vaadin-checkstyle.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/checkstyle/vaadin-checkstyle.xml b/checkstyle/vaadin-checkstyle.xml index 3e23370a23..88ac50c242 100644 --- a/checkstyle/vaadin-checkstyle.xml +++ b/checkstyle/vaadin-checkstyle.xml @@ -60,7 +60,11 @@ <module name="NewlineAtEndOfFile">
<property name="severity" value="warning" />
</module>
-
+ <module name="RegexpMultiline">
+ <property name="message" value="File contains carriage return (Windows newlines)" />
+ <property name="format" value="\r"/>
+ </module>
+
<!-- Checks that property files contain the same keys. -->
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
|