2017-05-11 15:22:09 +00:00
|
|
|
{
|
2018-12-18 02:56:04 +00:00
|
|
|
"root": true,
|
2019-02-10 16:05:35 +00:00
|
|
|
"extends": [
|
|
|
|
"wikimedia/client",
|
|
|
|
"wikimedia/jquery"
|
|
|
|
],
|
2017-05-11 15:22:09 +00:00
|
|
|
"globals": {
|
|
|
|
"OO": false,
|
2019-02-10 16:05:35 +00:00
|
|
|
"mw": false
|
2019-10-22 05:11:01 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"brace-style": "warn",
|
|
|
|
"camelcase": "warn",
|
|
|
|
"eqeqeq": "warn",
|
|
|
|
"max-len": "warn",
|
|
|
|
"max-statements-per-line": "warn",
|
|
|
|
"new-cap": "warn",
|
|
|
|
"no-alert": "warn",
|
|
|
|
"no-console": "warn",
|
|
|
|
"no-constant-condition": "warn",
|
|
|
|
"no-dupe-keys": "warn",
|
|
|
|
"no-empty": "warn",
|
|
|
|
"no-implicit-globals": "warn",
|
|
|
|
"no-jquery/no-global-selector": "warn",
|
|
|
|
"no-mixed-spaces-and-tabs": "warn",
|
|
|
|
"no-redeclare": "warn",
|
|
|
|
"no-tabs": "warn",
|
|
|
|
"no-undef": "warn",
|
|
|
|
"no-underscore-dangle": "warn",
|
|
|
|
"no-unused-vars": "warn",
|
|
|
|
"no-use-before-define": "warn",
|
|
|
|
"no-useless-concat": "warn",
|
|
|
|
"one-var": "warn",
|
|
|
|
"valid-jsdoc": "warn",
|
|
|
|
"vars-on-top": "warn"
|
2017-05-11 15:22:09 +00:00
|
|
|
}
|
|
|
|
}
|