-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphpcs.xml
More file actions
20 lines (19 loc) · 846 Bytes
/
phpcs.xml
File metadata and controls
20 lines (19 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset name="Project Rules">
<rule ref="Newfold"/>
<config name="testVersion" value="7.3-"/>
<config name="minimum_supported_wp_version" value="6.5"/>
<exclude-pattern>./assets</exclude-pattern>
<exclude-pattern>./build</exclude-pattern>
<rule ref="WordPress-Core">
<exclude name="WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid"/>
<exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase"/>
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="wp-module-ecommerce" />
</properties>
</rule>
</ruleset>