We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8d22b commit 6ac99bcCopy full SHA for 6ac99bc
standards/Toolset/ruleset.xml
@@ -7,6 +7,15 @@
7
<rule ref="WordPress"/>
8
<rule ref="VariableAnalysis" />
9
10
+ <!--
11
+ Do not apply these rules on non-PHP files.
12
+ Note: Twig templates are still not excluded, and they shouldn't be, because we have some plans for them.
13
+ -->
14
+ <exclude-pattern>*.js</exclude-pattern>
15
+ <exclude-pattern>*.mo</exclude-pattern>
16
+ <exclude-pattern>*.po</exclude-pattern>
17
+ <exclude-pattern>*.css</exclude-pattern>
18
+ <exclude-pattern>*.scss</exclude-pattern>
19
20
<!--
21
TODO add a sniff for missing translators: comment in Twig templates.
0 commit comments