diff --git a/.eslintrc.json b/.eslintrc.json index d6a7072d..fcd4dc4e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,5 +4,12 @@ "wikimedia/client", "wikimedia/jquery", "wikimedia/mediawiki" - ] + ], + "env": { + "commonjs": true + }, + "globals": { + "OO": "readonly", + "require": "readonly" + } } \ No newline at end of file