From 28a6d786c82d870601975b699ad2feea8196853c Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Sun, 31 Jan 2016 21:15:28 -0400 Subject: [PATCH] Lint JSDoc annotations with JSCS See http://jscs.info/rule/jsDoc --- .jscsrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.jscsrc b/.jscsrc index 3b48a913..c7d6cc49 100644 --- a/.jscsrc +++ b/.jscsrc @@ -1,4 +1,25 @@ { + "jsDoc": { + "checkAnnotations": { + "preset": "jsdoc3", + "extra": { + "fulfil": true + } + }, + "checkParamExistence": true, + "checkParamNames": true, + "requireParamTypes": true, + "checkReturnTypes": true, + "checkRedundantReturns": true, + "requireReturnTypes": true, + "checkTypes": "capitalizedNativeCase", + "checkRedundantAccess": true, + "requireHyphenBeforeDescription": true, + "requireNewlineAfterDescription": true, + "requireDescriptionCompleteSentence": true, + "requireParamDescription": true, + "checkRedundantParams": true + }, "disallowAnonymousFunctions": false, "disallowShorthandArrowFunctions": true, "disallowCapitalizedComments": false,