Make MessageCache::load() require a language code
[mediawiki.git] / .jscsrc
blob3f7e90d209cf549d02ddd39a88ed1843027f3f5b
2         "preset": "wikimedia",
3         "es3": true,
5         "requireVarDeclFirst": null,
7         "requireDotNotation": { "allExcept": [ "keywords" ] },
8         "jsDoc": {
9                 "checkAnnotations": {
10                         "preset": "jsduck5",
11                         "extra": {
12                                 "context": "some",
13                                 "see": "some"
14                         }
15                 },
16                 "checkParamNames": true,
17                 "checkRedundantAccess": true,
18                 "checkRedundantReturns": true,
19                 "checkTypes": "strictNativeCase",
20                 "requireNewlineAfterDescription": true,
21                 "requireParamTypes": true,
22                 "requireReturnTypes": true
23         },
25         "excludeFiles": [
26                 "docs/**",
27                 "extensions/**",
28                 "node_modules/**",
29                 "resources/lib/**",
30                 "resources/src/jquery.tipsy/**",
31                 "resources/src/jquery/jquery.farbtastic.js",
32                 "resources/src/mediawiki.libs/**",
33                 "skins/**",
34                 "vendor/**"
35         ]