X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jscsrc;h=3b94b90f07ab609648499a95205cca4afdb7c1b1;hb=4d1ad32d8acbd443346253d2f6a95024c833295c;hp=46d98aa9dba1c6431ffac4ff70cc6163c283e79f;hpb=9ccb87edbad4cacb3fbefa3602952a2fdd1978b3;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jscsrc b/.jscsrc index 46d98aa9db..3b94b90f07 100644 --- a/.jscsrc +++ b/.jscsrc @@ -7,7 +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