forked from wikimedia/mediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jscsrc
37 lines (34 loc) · 754 Bytes
/
.jscsrc
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
32
33
34
35
36
37
{
"preset": "wikimedia",
"es3": true,
"requireVarDeclFirst": null,
"requireDotNotation": { "allExcept": [ "keywords" ] },
"jsDoc": {
"checkAnnotations": {
"preset": "jsduck5",
"extra": {
"context": "some",
"source": "some",
"see": "some"
}
},
"checkParamNames": true,
"checkRedundantAccess": true,
"checkRedundantReturns": true,
"checkTypes": "strictNativeCase",
"requireNewlineAfterDescription": true,
"requireParamTypes": true,
"requireReturnTypes": true
},
"excludeFiles": [
"docs/**",
"extensions/**",
"node_modules/**",
"resources/lib/**",
"resources/src/jquery.tipsy/**",
"resources/src/jquery/jquery.farbtastic.js",
"resources/src/mediawiki.libs/**",
"skins/**",
"vendor/**"
]
}