a75d153eee
WPCS 1.0.0 includes a bunch of new auto-fixers, which drops the number of coding standards issues across WordPress significantly. Prior to running the auto-fixers, there were 15,312 issues detected. With this commit, we now drop to 4,769 issues. This change includes three notable additions: - Multiline function calls must now put each parameter on a new line. - Auto-formatting files is now part of the `grunt precommit` script. - Auto-fixable coding standards issues will now cause Travis failures. Fixes #44600. git-svn-id: https://develop.svn.wordpress.org/trunk@43571 602fd350-edb4-49c9-b593-d223f7449a82
21 lines
633 B
JSON
21 lines
633 B
JSON
{
|
|
"name": "wordpress/wordpress",
|
|
"license": "GPL-2.0-or-later",
|
|
"description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
|
|
"homepage": "https://wordpress.org",
|
|
"keywords": [
|
|
"blog", "cms", "wordpress", "wp"
|
|
],
|
|
"support": {
|
|
"issues": "https://core.trac.wordpress.org/"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "~0.4.4",
|
|
"wp-coding-standards/wpcs": "~1.0.0"
|
|
},
|
|
"scripts": {
|
|
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
|
|
"lint": "phpcs --standard=phpcs.xml.dist --report-summary --report-source"
|
|
}
|
|
}
|