mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-11 16:59:40 +00:00
45c2f5e4cc
composer: * mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0 * mediawiki/minus-x: 1.1.0 → 1.1.1 npm: * eslint-config-wikimedia: 0.17.0 → 0.18.1 Additional changes: * Added the "composer phan" command to conveniently run phan. * Removing manual extensions for eslint. Change-Id: I5258fbc9c96e63294f021e9e95f050d7fbd116a5
22 lines
482 B
JSON
22 lines
482 B
JSON
{
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.6",
|
|
"mediawiki/minus-x": "1.1.1",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
],
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"phan": "phan -d . --long-progress-bar"
|
|
}
|
|
}
|