Last active
August 29, 2015 14:21
-
-
Save jmillerdesign/0e8758621c9c606c84ad to your computer and use it in GitHub Desktop.
Modeled after https://github.com/twbs/bootstrap/blob/master/js/.jscsrc
This file contains hidden or 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, | |
"disallowKeywords": ["with"], | |
"disallowMixedSpacesAndTabs": "smart", | |
"disallowMixedSpacesAndTabs": true, | |
"disallowMultipleLineStrings": true, | |
"disallowQuotedKeysInObjects": "allButReserved", | |
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], | |
"disallowSpaceBeforeBinaryOperators": [","], | |
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], | |
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true }, | |
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true }, | |
"disallowSpacesInsideArrayBrackets": true, | |
"disallowSpacesInsideObjectBrackets": true, | |
"disallowSpacesInsideParentheses": true, | |
"disallowTrailingComma": true, | |
"disallowTrailingWhitespace": true, | |
"excludeFiles": ["node_modules/**"], | |
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", | |
"requireCapitalizedConstructors": true, | |
"requireCommaBeforeLineBreak": true, | |
"requireDollarBeforejQueryAssignment": true, | |
"requireDotNotation": true, | |
"requireLineFeedAtFileEnd": true, | |
"requirePaddingNewLinesAfterUseStrict": true, | |
"requirePaddingNewLinesBeforeExport": true, | |
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], | |
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], | |
"requireSpaceAfterLineComment": true, | |
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="], | |
"requireSpaceBetweenArguments": true, | |
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true }, | |
"requireSpacesInConditionalExpression": true, | |
"requireSpacesInForStatement": true, | |
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true }, | |
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, | |
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true }, | |
"validateAlignedFunctionParameters": true, | |
"validateIndentation": "\t", | |
"validateLineBreaks": "LF", | |
"validateQuoteMarks": "'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment