Update ESlint config

This commit is contained in:
alistair3149 2020-07-22 17:04:11 -04:00 committed by GitHub
parent 524ba6b9b9
commit 958cf897c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,13 @@
"wikimedia/jquery", "wikimedia/jquery",
"wikimedia/mediawiki" "wikimedia/mediawiki"
], ],
"env": {
"commonjs": true
},
"globals": { "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"
} }
} }