Created
June 27, 2015 21:01
-
-
Save charlieroberts/b18ace310c6a5ca127fd to your computer and use it in GitHub Desktop.
style rules for use with jscs
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
{ | |
"esnext": true, | |
"maximumLineLength": null, | |
"disallowTrailingWhitespace": null, | |
"requireSpacesInsideParentheses": { | |
"all": true, | |
"except": [ "{", "}" ] | |
}, | |
"disallowSemicolons": true, | |
"validateQuoteMarks": { "mark": "'", "escape": true }, | |
"requireSpacesInConditionalExpression": true, | |
"requireSpaceBeforeObjectValues": true, | |
"requireSpaceAfterObjectKeys": true, | |
"requireSpacesInsideObjectBrackets": "all", | |
"disallowNewlineBeforeBlockStatements": true, | |
"validateIndentation" : { "value": 2, "includeEmptyLines": false } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment