2016-12-16 11:11:54 +00:00
|
|
|
{
|
2018-10-05 16:24:24 +00:00
|
|
|
"root": true,
|
2023-06-13 22:39:41 +00:00
|
|
|
"plugins": [
|
|
|
|
"no-jquery"
|
|
|
|
],
|
2019-01-17 22:17:27 +00:00
|
|
|
"extends": [
|
2020-06-22 21:49:14 +00:00
|
|
|
"wikimedia/common",
|
|
|
|
"wikimedia/language/es6",
|
2019-08-05 12:31:06 +00:00
|
|
|
"wikimedia/jquery",
|
2023-06-13 22:39:41 +00:00
|
|
|
"plugin:no-jquery/all",
|
2020-06-22 21:49:14 +00:00
|
|
|
"wikimedia/mediawiki"
|
2019-01-17 22:17:27 +00:00
|
|
|
],
|
2017-07-28 17:32:46 +00:00
|
|
|
"parserOptions": {
|
2019-08-05 12:31:06 +00:00
|
|
|
"sourceType": "module"
|
2017-07-28 17:32:46 +00:00
|
|
|
},
|
2016-12-16 11:11:54 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2018-09-11 11:53:15 +00:00
|
|
|
"commonjs": true
|
2016-12-16 11:11:54 +00:00
|
|
|
},
|
|
|
|
"rules": {
|
2023-06-13 22:39:41 +00:00
|
|
|
"no-jquery/no-jquery-constructor": "error",
|
|
|
|
"no-jquery/no-find-collection": "error",
|
|
|
|
"no-jquery/no-attr": "error",
|
|
|
|
"no-jquery/no-class": "error",
|
|
|
|
"no-jquery/no-text": "error",
|
|
|
|
"no-jquery/no-css": "error",
|
|
|
|
"no-jquery/no-other-methods": "error",
|
|
|
|
"no-jquery/no-html": "error",
|
|
|
|
"no-jquery/no-class-state": "error",
|
|
|
|
"no-jquery/no-deferred": "error",
|
|
|
|
"no-jquery/no-when": "error",
|
|
|
|
"no-jquery/no-extend": "error",
|
2023-04-14 17:54:55 +00:00
|
|
|
"compat/compat": "off",
|
2020-06-22 21:49:14 +00:00
|
|
|
"no-use-before-define": "off",
|
2023-04-03 21:04:09 +00:00
|
|
|
"jsdoc/no-undefined-types": "off",
|
|
|
|
"no-dupe-keys": "warn",
|
|
|
|
"yml/block-sequence": "warn",
|
|
|
|
"yml/plain-scalar": "warn"
|
2020-06-22 21:49:14 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"jsdoc": {
|
|
|
|
"mode": "typescript"
|
|
|
|
}
|
2016-12-16 11:11:54 +00:00
|
|
|
}
|
|
|
|
}
|