Skip to content

Commit e91a620

Browse files
authored
Merge pull request #123 from Automattic/ignore-SuperfluousWhitespace-in-css-and-js
Ignore SuperfluousWhitespace in css and js files.
2 parents 153bd66 + 8a25465 commit e91a620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WordPressVIPMinimum/ruleset.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
<exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
2929
<include-pattern>*.php</include-pattern>
3030
<include-pattern>*.inc</include-pattern>
31+
<exclude-pattern>*.js</exclude-pattern>
32+
<exclude-pattern>*.css</exclude-pattern>
3133
</rule>
3234
<rule ref="Squiz.PHP.CommentedOutCode"/>
3335

0 commit comments

Comments
 (0)