diff --git a/.eslintrc.json b/.eslintrc.json index fcd4dc4e..4185f853 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,11 +5,13 @@ "wikimedia/jquery", "wikimedia/mediawiki" ], - "env": { - "commonjs": true - }, "globals": { - "OO": "readonly", - "require": "readonly" + "require": "readonly", + "module": "readonly" + }, + "rules": { + "one-var": "off", + "//": ["off", "ResourceLoader's `packageFiles` do not require wrapping but the `module` option is only available in ES6+."], + "no-implicit-globals": "off" } -} \ No newline at end of file +}