X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jscsrc;h=7226091dbe333e471baefa51eace8d84e54e844f;hb=43856c34123586d007d09717bf4f900aa1569740;hp=6a3c56408b803f2a9eb69ef199e65215ff9cfcfb;hpb=586effc0b7a0307ded8a7a587adca44b9b3febf9;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jscsrc b/.jscsrc index 6a3c56408b..7226091dbe 100644 --- a/.jscsrc +++ b/.jscsrc @@ -1,9 +1,18 @@ { "preset": "wikimedia", + "es3": true, - "disallowQuotedKeysInObjects": null, - "requireSpacesInsideParentheses": null, - "requireSpacesInsideArrayBrackets": null, + "requireVarDeclFirst": null, + + "disallowQuotedKeysInObjects": "allButReserved", + "requireDotNotation": { "allExcept": [ "keywords" ] }, + "jsDoc": { + "checkParamNames": true, + "checkRedundantReturns": true, + "requireNewlineAfterDescription": true, + "requireParamTypes": true, + "requireReturnTypes": true + }, "excludeFiles": [ "docs/**",