forked from plank/wp-phpcs-composer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·33 lines (33 loc) · 953 Bytes
/
composer.json
File metadata and controls
executable file
·33 lines (33 loc) · 953 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
26
27
28
29
30
31
32
33
{
"name": "davekellam/phpcs-wp",
"type": "phpcodesniffer-standard",
"version": "dev-main",
"license": "MIT",
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "^2",
"squizlabs/php_codesniffer" : "^3",
"wp-coding-standards/wpcs": "*"
},
"prefer-stable" : true,
"authors": [
{
"name": "Dave Kellam",
"email": "kellam@gmail.com"
}
],
"scripts": {
"config-cs": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"\"vendor/bin/phpcs\" --config-set default_standard DK-Default"
],
"post-install-cmd": "@config-cs",
"post-update-cmd": "@config-cs",
"lint": "\"vendor/bin/phpcs\" . "
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}