mediawiki-extensions-Visual.../.eslintrc.json
Ed Sanders 6f8e0d9699 Replace confirm with OO.ui.confirm
Also enable no-alert eslint rule to prevent alert/confirm/prompt
being used in the future.

Change-Id: I2851e1f58c1861f75dbb20192e5cf6c343da75db
2016-11-11 13:13:58 +00:00

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"
}
}