Skip to content

Commit

Permalink
No Windows newlines (getodk#880)
Browse files Browse the repository at this point in the history
* Prevent Windows newlines

* Newline
  • Loading branch information
yanokwa authored and lognaturel committed Apr 13, 2017
1 parent 77e2ae9 commit 28ff8cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=lf
6 changes: 6 additions & 0 deletions collect_app/config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<property name="eachLine" value="true" />
</module>

<!-- ODK-specific additions -->
<module name="RegexpMultiline">
<property name="format" value="\r\n"/>
<property name="message" value="Do not use Windows line endings"/>
</module>

<module name="TreeWalker">
<!-- ODK-specific additions -->
<module name="IllegalImport" />
Expand Down

0 comments on commit 28ff8cb

Please sign in to comment.