mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AJAXPoll
synced 2024-11-23 22:46:17 +00:00
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:
parent
bcf1781fc7
commit
95387ca5cc
|
@ -1,12 +1,11 @@
|
||||||
{
|
{
|
||||||
"root": true,
|
"root": true,
|
||||||
"extends": "wikimedia",
|
"extends": [
|
||||||
|
"wikimedia",
|
||||||
|
"wikimedia/mediawiki"
|
||||||
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"jquery": true
|
"jquery": true
|
||||||
},
|
|
||||||
"globals": {
|
|
||||||
"mw": false,
|
|
||||||
"OO": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,6 @@
|
||||||
<exclude name="PEAR.Functions.ValidDefaultValue.NotAtEnd" />
|
<exclude name="PEAR.Functions.ValidDefaultValue.NotAtEnd" />
|
||||||
</rule>
|
</rule>
|
||||||
<file>.</file>
|
<file>.</file>
|
||||||
<arg name="extensions" value="php,php5,inc" />
|
<arg name="extensions" value="php" />
|
||||||
<arg name="encoding" value="UTF-8" />
|
<arg name="encoding" value="UTF-8" />
|
||||||
</ruleset>
|
</ruleset>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "31.0.0",
|
"mediawiki/mediawiki-codesniffer": "32.0.0",
|
||||||
"mediawiki/minus-x": "1.1.0",
|
"mediawiki/minus-x": "1.1.0",
|
||||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||||
|
|
Loading…
Reference in a new issue