2016-11-29 16:22:16 +00:00
|
|
|
{
|
2018-12-18 03:02:54 +00:00
|
|
|
"root": true,
|
2023-04-12 22:23:41 +00:00
|
|
|
"plugins": [
|
|
|
|
"no-jquery"
|
|
|
|
],
|
2018-11-26 23:39:26 +00:00
|
|
|
"extends": [
|
2023-06-13 21:57:05 +00:00
|
|
|
"plugin:no-jquery/all",
|
2023-04-11 17:22:58 +00:00
|
|
|
"wikimedia/client-es6",
|
2019-10-31 21:43:20 +00:00
|
|
|
"wikimedia/jquery",
|
|
|
|
"wikimedia/mediawiki"
|
2020-03-09 18:31:36 +00:00
|
|
|
],
|
2023-04-11 17:22:58 +00:00
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"exports": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
2023-04-27 02:06:10 +00:00
|
|
|
"settings": {},
|
2020-03-09 18:31:36 +00:00
|
|
|
"rules": {
|
2023-06-13 21:57:05 +00:00
|
|
|
"no-jquery/no-other-utils": "error",
|
|
|
|
"no-jquery/no-trigger": "error",
|
|
|
|
"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-11 17:22:58 +00:00
|
|
|
"mediawiki/no-nodelist-unsupported-methods": "off",
|
|
|
|
"jsdoc/no-undefined-types": "off",
|
|
|
|
"compat/compat": "off",
|
2022-02-11 16:19:59 +00:00
|
|
|
"mediawiki/class-doc": "off"
|
2020-03-09 18:31:36 +00:00
|
|
|
}
|
2016-11-29 16:22:16 +00:00
|
|
|
}
|