mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-12-17 18:30:42 +00:00
9555edce6c
Change-Id: I0a022343428d4b41d2c3c00a6f48eeb237c76fac
28 lines
609 B
JSON
28 lines
609 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "43.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"@phpcs",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar",
|
|
"phpcs": "phpcs -sp --cache"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
}
|
|
}
|