Skip to content

Commit

Permalink
Update codesniffer.ruleset.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
0aveRyan authored May 11, 2018
1 parent e63ffe9 commit 1f58f93
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .circleci/codesniffer.ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<?xml version="1.0"?>
<ruleset name="timeinc-wp-plugin">
<ruleset name="<%= DASHES_SLUG %>-wp-plugin">
<description>Custom plugin codesniffer exceptions.</description>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>lib/composer/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
<rule ref="WordPress-VIP"></rule>
<rule ref="WordPress-VIP">
<exclude name="WordPress.VIP.SuperGlobalInputUsage" />
<exclude name="WordPress.VIP.RestrictedFunctions.switch_to_blog" />
</rule>
<rule ref="WordPress-Core"></rule>
<rule ref="WordPress"></rule>
</ruleset>

0 comments on commit 1f58f93

Please sign in to comment.