mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
![Timo Tijhof](/assets/img/avatar_default.png)
Add 'require' to eslint global whitelist for this extension, since ResourceLoader provides this in all contexts now. Bug: T166254 Depends-On: I0e6a95bd4fbaba06eae5137ac7af84f62bebf6f0 Change-Id: I6b2fe57317dcff18ec6d9ea0cd9e4eb9c894c169
23 lines
366 B
JSON
23 lines
366 B
JSON
{
|
|
"extends": "wikimedia",
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"qunit": true
|
|
},
|
|
"globals": {
|
|
"ve": true,
|
|
"VisualEditorSupportCheck": false,
|
|
"OO": false,
|
|
"unicodeJS": false,
|
|
"RangeFix": false,
|
|
"Papa": false,
|
|
"mw": false,
|
|
"require": false
|
|
},
|
|
"rules": {
|
|
"dot-notation": [ "error", { "allowKeywords": true } ],
|
|
"valid-jsdoc": 0
|
|
}
|
|
}
|