RequestContext::exportSession() should only export persisted session IDs
[mediawiki.git] / .jscsrc
blob3b94b90f07ab609648499a95205cca4afdb7c1b1
2         "preset": "wikimedia",
3         "es3": true,
5         "requireVarDeclFirst": null,
7         "disallowQuotedKeysInObjects": "allButReserved",
8         "requireDotNotation": { "allExcept": [ "keywords" ] },
9         "jsDoc": {
10                 "checkAnnotations": {
11                         "preset": "jsduck5",
12                         "extra": {
13                                 "context": true,
14                                 "source": true,
15                                 "see": true,
16                                 "private": true
17                         }
18                 },
19                 "checkParamNames": true,
20                 "checkRedundantAccess": true,
21                 "checkRedundantReturns": true,
22                 "checkTypes": "strictNativeCase",
23                 "requireNewlineAfterDescription": true,
24                 "requireParamTypes": true,
25                 "requireReturnTypes": true
26         },
28         "excludeFiles": [
29                 "docs/**",
30                 "extensions/**",
31                 "node_modules/**",
32                 "resources/lib/**",
33                 "resources/src/jquery.tipsy/**",
34                 "resources/src/jquery/jquery.farbtastic.js",
35                 "resources/src/mediawiki.libs/**",
36                 "skins/**",
37                 "vendor/**"
38         ]