2017-04-11 02:30:17 +00:00
|
|
|
{
|
|
|
|
"extends": "wikimedia",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"jquery": true,
|
|
|
|
"qunit": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"OO": false,
|
|
|
|
"mw": false,
|
|
|
|
"Hogan": false,
|
|
|
|
"require": false
|
|
|
|
},
|
|
|
|
"rules": {
|
2018-07-10 22:47:31 +00:00
|
|
|
"valid-jsdoc": ["error", {
|
|
|
|
"requireParamDescription": false,
|
|
|
|
"requireReturnDescription": false,
|
|
|
|
"requireReturn": false,
|
|
|
|
"preferType": {
|
|
|
|
"Boolean": "boolean",
|
|
|
|
"Number": "number",
|
|
|
|
"object": "Object",
|
|
|
|
"String": "string"
|
|
|
|
}
|
|
|
|
}],
|
2017-04-11 02:30:17 +00:00
|
|
|
"dot-notation": [ "error", { "allowKeywords": true } ],
|
|
|
|
"object-property-newline": "error",
|
|
|
|
"computed-property-spacing": 0,
|
|
|
|
"no-use-before-define": 0,
|
|
|
|
"no-underscore-dangle": 0
|
|
|
|
}
|
|
|
|
}
|