X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=.jscsrc;h=3b94b90f07ab609648499a95205cca4afdb7c1b1;hb=9db32681e4821f0c88575c07c30c91f5916855b4;hp=aaa876c3e22e6bdccbb6d5756fe51b670ae1dbbf;hpb=3b30e38db0d85b28373a407098c8ddaa37dd98f6;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jscsrc b/.jscsrc index aaa876c3e2..3b94b90f07 100644 --- a/.jscsrc +++ b/.jscsrc @@ -7,6 +7,19 @@ "disallowQuotedKeysInObjects": "allButReserved", "requireDotNotation": { "allExcept": [ "keywords" ] }, "jsDoc": { + "checkAnnotations": { + "preset": "jsduck5", + "extra": { + "context": true, + "source": true, + "see": true, + "private": true + } + }, + "checkParamNames": true, + "checkRedundantAccess": true, + "checkRedundantReturns": true, + "checkTypes": "strictNativeCase", "requireNewlineAfterDescription": true, "requireParamTypes": true, "requireReturnTypes": true