mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
76e02fae98
Notice how this actually reduces the size of the final, compiled index.js. It's not much, but still. One issue I noticed is that the coverage reports for the JS code stopped working. I have no idea why. Bug: T208951 Change-Id: I2fe92579574b3b1ba4d2dd064899eee944045a96
24 lines
331 B
JSON
24 lines
331 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"wikimedia/client",
|
|
"wikimedia/jquery",
|
|
"wikimedia/language/es6"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"commonjs": true
|
|
},
|
|
"globals": {
|
|
"mw": "readonly",
|
|
"OO": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-use-before-define": "off"
|
|
}
|
|
}
|