Skip to content

Commit 851c294

Browse files
committed
Exclude CSS and JS files (we only care about PHP)
1 parent f7c168b commit 851c294

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Unleashed/ruleset.xml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
>
77
<description>The Unleashed Technologies PHP coding standard.</description>
88

9+
<!-- Don't apply to CSS or JS; we have separate standards for those -->
10+
<exclude-pattern>*.css</exclude-pattern>
11+
<exclude-pattern>*.js</exclude-pattern>
12+
913
<!-- Import PSR-12 coding standard (base) -->
1014
<rule ref="PSR12">
1115
<!-- checked by SlevomatCodingStandard.Namespaces.NamespaceSpacing -->

0 commit comments

Comments
 (0)