-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpcs.xml
More file actions
19 lines (14 loc) · 864 Bytes
/
phpcs.xml
File metadata and controls
19 lines (14 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Siteimprove WordPress Plugin" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<file>.</file>
<description>Custom set of rules for Siteimprove WordPress Plugin based on WPCS and extended to match the project needs</description>
<exclude-pattern>/siteimprove/admin/css/*</exclude-pattern>
<exclude-pattern>/siteimprove/admin/js/*</exclude-pattern>
<rule ref="WordPress">
<exclude name="Squiz.Commenting.FileComment.SpacingAfterComment"/>
</rule>
<!-- For Windows users that may have problems with EOL. If you are not using Windows please comment out the code below -->
<rule ref="Generic.Files.LineEndings">
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
</rule>
</ruleset>