Created
August 14, 2016 01:32
-
-
Save ivan-marquez/da33af7cca503f5a6c1e46a5f2d9e566 to your computer and use it in GitHub Desktop.
Jscs config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"excludeFiles": ["node_modules/**", "bower_components/**"], | |
"requireCurlyBraces": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"try", | |
"catch" | |
], | |
"requireOperatorBeforeLineBreak": true, | |
"requireCamelCaseOrUpperCaseIdentifiers": true, | |
"maximumLineLength": { | |
"value": 200, | |
"allowComments": true, | |
"allowRegex": true | |
}, | |
"validateIndentation": 4, | |
"validateQuoteMarks": "'", | |
"disallowMultipleLineStrings": true, | |
"disallowMixedSpacesAndTabs": true, | |
"disallowTrailingWhitespace": true, | |
"disallowSpaceAfterPrefixUnaryOperators": true, | |
"disallowMultipleVarDecl": null, | |
"requireSpaceAfterKeywords": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"switch", | |
"return", | |
"try", | |
"catch" | |
], | |
"requireSpaceBeforeBinaryOperators": [ | |
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=", | |
"&=", "|=", "^=", "+=", | |
"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&", | |
"|", "^", "&&", "||", "===", "==", ">=", | |
"<=", "<", ">", "!=", "!==" | |
], | |
"requireSpaceAfterBinaryOperators": true, | |
"requireSpacesInConditionalExpression": true, | |
"requireSpaceBeforeBlockStatements": true, | |
"disallowSpacesInsideObjectBrackets": "all", | |
"disallowSpacesInsideArrayBrackets": "all", | |
"disallowSpacesInsideParentheses": true, | |
"disallowMultipleLineBreaks": true, | |
"disallowCommaBeforeLineBreak": null, | |
"disallowDanglingUnderscores": null, | |
"disallowEmptyBlocks": null, | |
"disallowTrailingComma": null, | |
"requireCommaBeforeLineBreak": null, | |
"requireDotNotation": null, | |
"requireMultipleVarDecl": null, | |
"requireParenthesesAroundIIFE": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment