mediawiki-extensions-Discus.../modules/.eslintrc.json
Ed Sanders dda9227947 ESLint: Manually fix remaining no-var violations
Change-Id: I4474bd0205e7a1ed8e60147e52675e3e0b93ccd9
2024-05-24 16:50:11 +01:00

41 lines
864 B
JSON

{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"ve": "readonly",
"RangeFix": "readonly"
},
"rules": {
"no-implicit-globals": "off",
"prefer-const": "off",
"max-len": "off",
"prefer-arrow-callback": "error",
"implicit-arrow-linebreak": "error",
"arrow-body-style": "error",
"no-jquery/no-extend": [ "error", { "allowDeep": true } ]
},
"settings": {
"polyfills": [
"URL",
"URLSearchParams"
],
"jsdoc": {
"preferredTypes": {
"CommentController": "CommentController",
"CommentDetails": "CommentDetails",
"CommentItem": "CommentItem",
"DmMWPingNode": "DmMWPingNode",
"HeadingItem": "HeadingItem",
"MemoryStorage": "MemoryStorage",
"moment": "moment",
"ThreadItemSet": "ThreadItemSet",
"ThreadItem": "ThreadItem"
}
}
}
}