-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
33 lines (27 loc) · 1.04 KB
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<ruleset>
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs"/>
<rule ref="WordPress-VIP">
<exclude name="WordPress.VIP.RestrictedFunctions" />
<exclude name="WordPress.VIP.SlowDBQuery" />
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="100"/>
<property name="absoluteLineLimit" value="120"/>
</properties>
</rule>
<rule ref="Squiz.PHP.CommentedOutCode">
<exclude-pattern>/scaffold/*</exclude-pattern>
</rule>nos
<file>./</file>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/legacy/lib/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/tests/*</exclude-pattern>
<exclude-pattern>/js/*</exclude-pattern>
<exclude-pattern>/css/*</exclude-pattern>
<exclude-pattern>/img/*</exclude-pattern>
<exclude-pattern>/languages/*</exclude-pattern>
<exclude-pattern>/\.*</exclude-pattern>
</ruleset>