mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-14 19:31:38 +00:00
f17b06db0a
Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). Change-Id: I19196f86a18cc4be7ac9e24d8c84a2ed4c8121f4
25 lines
527 B
JSON
25 lines
527 B
JSON
{
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"wikimedia/css-sanitizer": "~2.0.0"
|
|
},
|
|
"require-dev": {
|
|
"mediawiki/mediawiki-codesniffer": "33.0.0",
|
|
"mediawiki/mediawiki-phan-config": "0.10.3",
|
|
"mediawiki/minus-x": "1.1.0",
|
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"fix": [
|
|
"minus-x fix .",
|
|
"phpcbf"
|
|
],
|
|
"test": [
|
|
"parallel-lint . --exclude vendor --exclude node_modules",
|
|
"phpcs -p -s",
|
|
"minus-x check ."
|
|
]
|
|
}
|
|
}
|