Skip to content

Commit

Permalink
Add rule to only allow UNIX style line endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl authored and grappler committed Jul 28, 2016
1 parent 100ceb9 commit 8bf8279
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions WordPress-Theme/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/phpshort.php -->
<rule ref="Generic.PHP.DisallowShortOpenTag" />

<!-- Only UNIX line endings allowed. -->
<!-- Covers: https://github.com/Otto42/theme-check/blob/master/checks/lineendings.php -->
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>



</ruleset>

0 comments on commit 8bf8279

Please sign in to comment.