forked from elementor/elementor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruleset.xml
28 lines (25 loc) · 1006 Bytes
/
ruleset.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
<?xml version="1.0"?>
<ruleset name="WordPress.Elementor">
<description>
Elementor Coding Standard
</description>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>build/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>includes/libraries/</exclude-pattern>
<exclude-pattern>tests/*.php</exclude-pattern>
<rule ref="WordPress-Extra">
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="Squiz.Commenting.FileComment.Missing" />
<exclude name="Generic.Commenting.DocComment.MissingShort" />
<exclude name="Squiz.Commenting.FunctionComment.Missing" />
<exclude name="Squiz.Commenting.ClassComment.Missing" />
<exclude name="Squiz.Commenting.VariableComment.Missing" />
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
</rule>
<rule ref="WordPress.WP.DeprecatedFunctions">
<properties>
<property name="minimum_supported_version" value="4.5" />
</properties>
</rule>
</ruleset>