diff --git a/.eslintrc.json b/.eslintrc.json index 1a49e0a..14ba6ed 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,11 +1,11 @@ { "root": true, - "extends": "wikimedia", + "extends": [ + "wikimedia", + "wikimedia/mediawiki", + "wikimedia/jquery" + ], "env": { "browser": true - }, - "globals": { - "mw": false, - "$": false } } diff --git a/.phpcs.xml b/.phpcs.xml index 03ebb1c..9d79e19 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,7 @@ . - + domains\.php vendor diff --git a/composer.json b/composer.json index aa4eb67..f1926c4 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "mediawiki/mediawiki-codesniffer": "31.0.0", + "mediawiki/mediawiki-codesniffer": "33.0.0", "mediawiki/mediawiki-phan-config": "0.10.3", "mediawiki/minus-x": "1.1.0", "php-parallel-lint/php-console-highlighter": "0.5.0",