mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 15:50:34 +00:00
Update ESlint config
This commit is contained in:
parent
524ba6b9b9
commit
958cf897c1
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue