summaryrefslogtreecommitdiffstats
path: root/checkstyle
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-04 11:05:38 +0200
committerVaadin Code Review <review@vaadin.com>2013-01-07 13:39:50 +0000
commit039374633fb30da7a1f554552ae3e7b6c54a2dd8 (patch)
treeaab4a6bf007679215d653ae24505ada25244032c /checkstyle
parent883bd5cdc103affdb382692d71dc703634b706b4 (diff)
downloadvaadin-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.xml6
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 -->
6140/stable28 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/.jshintrc
blob: 19ce0606297c384b1ee9999fe0db9d68e60badfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37