mediawiki-extensions-Visual.../composer.json
David Lynch 099e7a80c4 Exclude node_modules directories from phpcs
The `flatted` module in lib/ve/node_modules includes some php files that
keep causing errors.

Add the --cache just because it seems to be common practice in other MW
extensions.

Change-Id: Ia791e569587d76e991711b93011cb1df3796f532
2023-10-12 16:52:22 -05:00

23 lines
534 B
JSON

{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "41.0.0",
"mediawiki/mediawiki-phan-config": "0.12.1",
"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",
"minus-x check .",
"@phpcs"
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache --ignore=*/node_modules/"
}
}