diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-04 11:05:38 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-01-07 13:39:50 +0000 |
commit | 039374633fb30da7a1f554552ae3e7b6c54a2dd8 (patch) | |
tree | aab4a6bf007679215d653ae24505ada25244032c /checkstyle | |
parent | 883bd5cdc103affdb382692d71dc703634b706b4 (diff) | |
download | vaadin-framework-039374633fb30da7a1f554552ae3e7b6c54a2dd8.tar.gz vaadin-framework-039374633fb30da7a1f554552ae3e7b6c54a2dd8.zip |
Added check for carriage return (#9065)
Change-Id: I5ab56fb58fb7db2542678845bddf6a7e971fd6ca
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 -->
|