mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
6f8e0d9699
Also enable no-alert eslint rule to prevent alert/confirm/prompt being used in the future. Change-Id: I2851e1f58c1861f75dbb20192e5cf6c343da75db
24 lines
350 B
JSON
24 lines
350 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
|
|
},
|
|
"rules": {
|
|
"dot-notation": 0,
|
|
"wrap-iife": 0,
|
|
"valid-jsdoc": 0,
|
|
"no-alert": "error"
|
|
}
|
|
}
|