build: Updating mediawiki/mediawiki-codesniffer to 32.0.0

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222).
* Removed globals `mw`, `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ia6c0b6f25cfc56e3aacebd2ea78263f284af65bc
This commit is contained in:
libraryupgrader 2020-10-28 23:04:45 +00:00
parent bcf1781fc7
commit 95387ca5cc
3 changed files with 6 additions and 7 deletions

View file

@ -1,12 +1,11 @@
{
"root": true,
"extends": "wikimedia",
"extends": [
"wikimedia",
"wikimedia/mediawiki"
],
"env": {
"browser": true,
"jquery": true
},
"globals": {
"mw": false,
"OO": false
}
}

View file

@ -7,6 +7,6 @@
<exclude name="PEAR.Functions.ValidDefaultValue.NotAtEnd" />
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>

View file

@ -1,6 +1,6 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-codesniffer": "32.0.0",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"