themes-wordpress/composer.json
Jeff Ong c75d4ef9c0
Try fixing the husky actions. (#5493)
* Test commit.

* Test.

* Test.

* test.

* test

* Update package.json.

* Update package-lock.json.

* Remove incorrect formatting.

* Test a syntax error.

* Test a style error.

* Remove weird undefined.

* test

* test

* test commit

* Update phpcodesniffer-composer-installer

* Update phpcompatibility-wp

* test

* fix composer

* test

* test

* Update composer lock

* test

* test.

* Fix linters error?

* test

* test

* reset

* test

* test

Co-authored-by: Ben Dwyer <ben@scruffian.com>
Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
2022-02-15 11:28:42 +00:00

20 lines
625 B
JSON

{
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "2.1.3",
"sirbrillig/phpcs-changed": "^2.5.1",
"sirbrillig/phpcs-variable-analysis": "^2.7.0",
"wp-coding-standards/wpcs": "^2.1.1"
},
"scripts": {
"php:lint": "vendor/bin/phpcs -p -s",
"php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1",
"php:lint:autofix": "vendor/bin/phpcbf",
"php:lint:changed": "vendor/bin/phpcs-changed --git --git-unstaged"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}