-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpcs.xml.dist
36 lines (23 loc) · 911 Bytes
/
phpcs.xml.dist
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
34
35
36
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<description>Apply WordPress Coding Standards to all HelpHub files.</description>
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
<arg name="extensions" value="php" />
<arg name="cache" value=".cache/phpcs.json" />
<ini name="memory_limit" value="256M" />
<arg name="basepath" value="./" />
<arg name="parallel" value="20" />
<arg value="ps" />
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<file>.</file>
<rule ref="WordPress-Core"/>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<!-- Exclude third party libraries and tools -->
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<!-- Exclude the build directory -->
<exclude-pattern>/build/*</exclude-pattern>
</ruleset>