diff options
author | Chris Rebert <code@rebertia.com> | 2015-01-01 06:28:13 +0300 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2015-01-01 06:43:22 +0300 |
commit | 0e97ce1c2f135cf49d5c2f1ddce4ad2576a89b83 (patch) | |
tree | b34e41f6e8a07dd6ac907983a7ff0f496cae6d8f /.jscsrc |
initial checkin
Diffstat (limited to '.jscsrc')
-rw-r--r-- | .jscsrc | 39 |
1 files changed, 39 insertions, 0 deletions
@@ -0,0 +1,39 @@ + +{ + "disallowEmptyBlocks": true, + "disallowKeywords": ["with"], + "disallowMixedSpacesAndTabs": true, + "disallowMultipleLineStrings": true, + "disallowMultipleVarDecl": true, + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], + "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], + "disallowSpacesInCallExpression": true, + "disallowTrailingWhitespace": true, + "esnext": true, + "requireCapitalizedConstructors": true, + "requireCommaBeforeLineBreak": true, + "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"], + "requireLineFeedAtFileEnd": true, + "requireOperatorBeforeLineBreak": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], + "requireParenthesesAroundIIFE": true, + "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], + "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], + "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], + "requireSpacesInConditionalExpression": true, + "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, + "validateIndentation": 4, + "validateLineBreaks": "LF", + "validateParameterSeparator": ", ", + "plugins": [ + "jscs-jsdoc" + ], + "jsDoc": { + "checkAnnotations": { + "preset": "jsdoc3", + "extra": {"class": false} + }, + "checkParamNames": true, + "checkRedundantParams": true, + "requireParamTypes": true + } +} |