Created
December 12, 2015 08:26
-
-
Save diegoaguilar/59be60e506bb60b0ec39 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
{ | |
"requireSemicolons": true, | |
"validateQuoteMarks": "'", | |
"requirePaddingNewLinesAfterUseStrict": true, | |
"dissallowTrailingComma": true, | |
"disallowSpacesinFunction": true, | |
"maximumLineLength": 120, | |
"requireCamelCaseOrUpperCaseIdentifiers": true, | |
"disallowMixedSpacesAndTabs": "smart", | |
"disallowEmptyBlocks": true, | |
"requireSpaceAfterLineComment": { | |
"allExcept": [ | |
"#", | |
"=" | |
] | |
}, | |
"validateIndentation": { | |
"value": 2, | |
"allExcept": ["comments"] | |
}, | |
"requireAlignedMultilineParams": true, | |
"validateParameterSeparator": ", ", | |
"requireSpaceBetweenArguments": true, | |
"requireSpaceAfterKeywords": [ | |
"do", | |
"for", | |
"if", | |
"else", | |
//"switch", | |
"case", | |
"try", | |
"catch", | |
"void", | |
"while", | |
"with", | |
"return", | |
"typeof" | |
], | |
"requireSpaceBeforeBlockStatements": true, | |
"requireSpacesInConditionalExpression": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment