mediawiki-extensions-Discus.../modules/.eslintrc.json
Ed Sanders f4c12e120a Define documentable types in eslintrc instead of inline
These types can be passed a parameters to any file without
creating a dependency, so it makes more sense to allow
the globally.

Change-Id: I5504465fd997b46547642e7046993b370b85586e
2021-10-17 14:38:39 +01:00

30 lines
547 B
JSON

{
"root": true,
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"globals": {
"ve": "readonly",
"RangeFix": "readonly"
},
"rules": {
"no-implicit-globals": "off",
"max-len": "off"
},
"settings": {
"jsdoc": {
"preferredTypes": {
"CommentController": "CommentController",
"CommentDetails": "CommentDetails",
"CommentItem": "CommentItem",
"DmMWPingNode": "DmMWPingNode",
"HeadingItem": "HeadingItem",
"moment": "moment",
"ThreadItem": "ThreadItem"
}
}
}
}