-
Notifications
You must be signed in to change notification settings - Fork 33
/
phpcs.xml
41 lines (31 loc) · 1.12 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
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<ruleset name="">
<description>ThemeIsle ruleset</description>
<rule ref="WordPress-VIP-Go" />
<rule ref="WordPress-Core" />
<rule ref="WordPress-Docs" />
<rule ref="WordPress-Extra">
<!-- Forget about file names -->
<exclude name="WordPress.Files.FileName"/>
</rule>
<config name="testVersion" value="5.6-"/>
<rule ref="PHPCompatibility" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" value="otter-blocks" />
</properties>
</rule>
<arg name="extensions" value="php"/>
<arg value="s"/>
<file>.</file>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>build/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>Gruntfile.js</exclude-pattern>
<exclude-pattern>dist</exclude-pattern>
<exclude-pattern>cypress</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>artifact/*</exclude-pattern>
<exclude-pattern>assets/*</exclude-pattern>
</ruleset>