mediawiki-extensions-Discus.../modules/.eslintrc.json
Ed Sanders a4a335e6a9 CommentController/NewTopicController: Always use replyWidgetPromise
Remove the replyWidget property so users always have to use the
replyWidgetPromise.

Assume that the controller is setup immediately and so the
replyWidgetPromise will always be available.

Change-Id: Ib63952d745033721cac448feda9310e691c60090
2024-11-26 11:58:03 +00:00

39 lines
725 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"ve": "readonly",
"RangeFix": "readonly"
},
"parserOptions": {
"sourceType": "commonjs"
},
"rules": {
"max-len": "off"
},
"settings": {
"polyfills": [
"URL",
"URLSearchParams"
],
"jsdoc": {
"preferredTypes": {
"CommentController": "CommentController",
"CommentDetails": "CommentDetails",
"CommentItem": "CommentItem",
"DmMWPingNode": "DmMWPingNode",
"HeadingItem": "HeadingItem",
"MemoryStorage": "MemoryStorage",
"moment": "moment",
"ReplyWidget": "ReplyWidget",
"ThreadItemSet": "ThreadItemSet",
"ThreadItem": "ThreadItem"
}
}
}
}