mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 09:04:21 +00:00
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
This commit is contained in:
parent
f40a487360
commit
099e7a80c4
|
@ -17,6 +17,6 @@
|
|||
"phpcbf"
|
||||
],
|
||||
"phan": "phan -d . --long-progress-bar",
|
||||
"phpcs": "phpcs -sp"
|
||||
"phpcs": "phpcs -sp --cache --ignore=*/node_modules/"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue