diff --git a/.eslintrc.json b/.eslintrc.json index b58b46a..39a123e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,12 +1,11 @@ { "root": true, - "extends": "wikimedia", + "extends": [ + "wikimedia", + "wikimedia/mediawiki" + ], "env": { "browser": true, "jquery": true - }, - "globals": { - "mw": false, - "OO": false } } diff --git a/.phpcs.xml b/.phpcs.xml index 0105bb1..64f98c1 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -7,6 +7,6 @@ . - + diff --git a/composer.json b/composer.json index 55a4a0b..ff33cd5 100644 --- a/composer.json +++ b/composer.json @@ -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"