forked from tinify/wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (23 loc) · 780 Bytes
/
phpcs.xml
File metadata and controls
25 lines (23 loc) · 780 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
<?xml version="1.0"?>
<ruleset>
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs"/>
<rule ref="WordPress-Core"/>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="100"/>
<property name="absoluteLineLimit" value="100"/>
</properties>
<exclude-pattern>src/views</exclude-pattern>
</rule>
<rule ref="WordPress.WP.I18n.UnorderedPlaceholders">
<severity>0</severity>
</rule>
<file>tiny-compress-images.php</file>
<file>src</file>
<file>test</file>
<exclude-pattern>src/css</exclude-pattern>
<exclude-pattern>src/data</exclude-pattern>
<exclude-pattern>src/js</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>test/</exclude-pattern>
</ruleset>