Skip to content

Commit

Permalink
Add jscs-jsdoc configuration to .jscs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 11, 2015
1 parent 70ec3ff commit 435db28
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .jscs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
{
"plugins": [
"jscs-jsdoc"
],
"jsDoc": {
"checkAnnotations": "jsdoc3",
"checkParamNames": true,
"requireParamTypes": true,
"checkRedundantParams": true,
"checkReturnTypes": true,
"checkRedundantReturns": true,
"requireReturnTypes": true,
"checkTypes": "strictNativeCase",
"checkRedundantAccess": true,
"enforceExistence": true,
"requireHyphenBeforeDescription": true
},
"requireCurlyBraces": [
"if",
"else",
Expand All @@ -22,9 +38,6 @@
"requireSpaceBeforeBlockStatements": true,
"requireParenthesesAroundIIFE": true,
"requireSpacesInConditionalExpression": true,
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
Expand All @@ -33,6 +46,9 @@
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireMultipleVarDecl": true,
"requireBlocksOnNewline": true,
"disallowPaddingNewlinesInBlocks": true,
Expand Down

0 comments on commit 435db28

Please sign in to comment.