-
Notifications
You must be signed in to change notification settings - Fork 84
/
phpcs.xml
42 lines (38 loc) · 1.47 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
42
<?xml version="1.0"?>
<ruleset name="Themeisle">
<description>Themeisle rules for PHP_CodeSniffer.</description>
<file>.</file>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>dist/*</exclude-pattern>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<exclude-pattern>*.min.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.asset.php</exclude-pattern>
<exclude-pattern>globals/google-fonts.php</exclude-pattern>
<rule ref="Themeisle"/>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="neve"/>
<element value="default"/>
</property>
</properties>
</rule>
<rule ref="WPThemeReview" >
<exclude name="WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound"></exclude>
<exclude name="WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_pattern"></exclude>
</rule>
<rule ref="Wordpress-Core">
<exclude name="Generic.Commenting.DocComment.MissingShort"></exclude>
</rule>
<rule ref="WPThemeReview.Templates.ReservedFileNamePrefix.ReservedTemplatePrefixFound">
<exclude-pattern>views/page-header.php</exclude-pattern>
</rule>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<arg name="basepath" value="./" />
<arg name="parallel" value="20"/>
</ruleset>