Skip to content

Commit

Permalink
Check presence of newline at the end of files during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Oct 11, 2019
1 parent d166a07 commit 3787b82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.java text eol=lf
*.properties text eol=lf
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
Expand Down
3 changes: 3 additions & 0 deletions org.jacoco.build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,12 @@
<file>../org.jacoco.core/.settings/org.eclipse.jdt.core.prefs</file>
</eclipse>
<trimTrailingWhitespace/>
<endWithNewline/>
</java>
<formats>
<format>
<includes>
<include>**/*.properties</include>
<include>**/*.html</include>
<include>**/*.css</include>
<include>**/*.js</include>
Expand All @@ -588,6 +590,7 @@
</excludes>
<lineEndings>UNIX</lineEndings>
<trimTrailingWhitespace/>
<endWithNewline/>
</format>
</formats>
</configuration>
Expand Down

0 comments on commit 3787b82

Please sign in to comment.