mediawiki-extensions-Revisi.../.eslintrc.json
Ed Sanders dcf19784eb Define documentable types in eslintrc instead of inline
Change-Id: I20e805839a13697ffea8d4a2f92b1c3a4b023175
2021-10-17 15:35:14 +01:00

32 lines
603 B
JSON

{
"root": true,
"env": {
"commonjs": true
},
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"max-len": "off",
"no-jquery/no-global-selector": "off",
"no-jquery/no-class-state": "off"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"DiffPage": "DiffPage",
"Pointer": "Pointer",
"PointerLine": "PointerLine",
"PointerView": "PointerView",
"Revision": "Revision",
"RevisionList": "RevisionList",
"RevisionListView": "RevisionListView",
"Slider": "Slider",
"SliderView": "SliderView"
}
}
}
}