Last active
April 7, 2016 19:50
-
-
Save craig-davis/c91f3de7dbb33b101154e7561fda930a to your computer and use it in GitHub Desktop.
.jscsrc
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
{ | |
"disallowEmptyBlocks": true, | |
"disallowImplicitTypeConversion": ["numeric", "boolean", "binary", "string"], | |
"disallowKeywords": ["with"], | |
"disallowLeftStickedOperators": ["?", "+", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], | |
"disallowMixedSpacesAndTabs": true, | |
"disallowMultipleLineBreaks": true, | |
"disallowMultipleLineStrings": true, | |
"disallowQuotedKeysInObjects": true, | |
"disallowRightStickedOperators": ["?", "+", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], | |
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], | |
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], | |
"disallowSpacesInsideArrayBrackets": true, | |
"disallowSpacesInsideParentheses": true, | |
"disallowTrailingWhitespace": true, | |
"maximumLineLength": 80, | |
"requireCapitalizedConstructors": true, | |
"requireCommaBeforeLineBreak": true, | |
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"], | |
"requireDotNotation": true, | |
"requireKeywordsOnNewLine": ["else", "catch", "while"], | |
"requireLeftStickedOperators": [","], | |
"requireLineFeedAtFileEnd": true, | |
"requireMultipleVarDecl": true, | |
"requireOperatorBeforeLineBreak": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], | |
"requireParenthesesAroundIIFE": true, | |
"requireRightStickedOperators": ["!"], | |
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], | |
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], | |
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], | |
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, | |
"validateLineBreaks": "LF", | |
"validateQuoteMarks": "'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment