mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
e7fd1ac847
I am surprised this was disabled. I investigated this after reviewing some code by a new contributor which I was certain should have failed the lint check, but passed. Change-Id: I5b3c837b8ca3292f6e268b3922443bd9587eadbe
24 lines
421 B
JSON
24 lines
421 B
JSON
{
|
|
"extends": "wikimedia",
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true
|
|
},
|
|
"globals": {
|
|
"ve": true,
|
|
"VisualEditorSupportCheck": false,
|
|
"OO": false,
|
|
"unicodeJS": false,
|
|
"RangeFix": false,
|
|
"Papa": false,
|
|
"mw": false,
|
|
"require": false
|
|
},
|
|
"rules": {
|
|
"dot-notation": [ "error", { "allowKeywords": true } ],
|
|
"max-statements-per-line": [ "error", { "max": 1 } ],
|
|
"max-len": 0,
|
|
"valid-jsdoc": 0
|
|
}
|
|
}
|