-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
30 lines (24 loc) · 1000 Bytes
/
phpcs.xml
File metadata and controls
30 lines (24 loc) · 1000 Bytes
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
<?xml version="1.0"?>
<ruleset name="Quality Unit">
<description>Quality Unit Coding Standards</description>
<!-- Scan all files in directory -->
<file>.</file>
<!-- Scan only PHP files -->
<arg name="extensions" value="php"/>
<!-- Ignore WordPress and Composer dependencies -->
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>assets/dist</exclude-pattern>
<exclude-pattern>lib/widgets/statistics/build</exclude-pattern>
<exclude-pattern>lib/widgets/qu-checklists/build</exclude-pattern>
<exclude-pattern>lib/widgets/qu-expertnote/build</exclude-pattern>
<exclude-pattern>apps/web-calc/build</exclude-pattern>
<exclude-pattern>apps/web-calc-featured/build</exclude-pattern>
<!-- Show colors in console -->
<arg value="-colors"/>
<!-- Show sniff codes in all reports -->
<arg value="ns"/>
<!-- Use those sets as a base -->
<rule ref="WordPress-Core"/>
<rule ref="WordPress-VIP-Go"/>
</ruleset>