-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.json
31 lines (29 loc) · 934 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
// These rules are not applicable,
// because some of our scripts MUST interfere with third-party widgets.
"no-jquery/no-global-selector": "off",
// Don't want to disable console.log() with "why not preloaded" results
// (this information is helpful for users who are trying to determine why).
"no-console": "off",
// TODO: missing documentation: this can be fixed
"jsdoc/check-alignment": "off",
"jsdoc/check-param-names": "off",
"jsdoc/check-tag-names": "off",
"jsdoc/multiline-blocks": "off",
"jsdoc/newline-after-description": "off",
"jsdoc/no-undefined-types": "off",
"jsdoc/require-asterisk-prefix": "off",
"jsdoc/require-param": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-returns-type": "off",
"jsdoc/valid-types": "off"
}
}