-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
23 lines (19 loc) · 808 Bytes
/
Copy pathphpcs.xml
File metadata and controls
23 lines (19 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<description>API Based Plugin</description>
<!-- Specify the coding standard you want to use. For example, PSR-12. -->
<arg name="extensions" value="php"/>
<!-- Define the directories or files you want to analyze. -->
<file>includes/admin</file>
<file>includes/front-end</file>
<file>block/</file>
<!-- Exclude specific directories or files if needed. -->
<!-- Exclude paths -->
<exclude-pattern>block/build/</exclude-pattern>
<exclude-pattern>block/node_modules/</exclude-pattern>
<exclude-pattern>block/src/</exclude-pattern>
<!-- Customize rules or sniffs as necessary. -->
<rule ref="WordPress"/>
<!-- <rule ref="WordPress-VIP-Go"/>
<rule ref="WordPressVIPMinimum"/> -->
</ruleset>