mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
a9ce695f75
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
|
|
}
|
|
}
|