Created
May 11, 2015 10:32
-
-
Save issunboshi/8dabd35bc17cc0ded15b to your computer and use it in GitHub Desktop.
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
{ | |
"requireCurlyBraces": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"try", | |
"catch" | |
], | |
"requireSpaceAfterKeywords": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"switch", | |
"case", | |
"return", | |
"try", | |
"catch", | |
"function", | |
"typeof" | |
], | |
"requireSpaceBeforeBlockStatements": true, | |
"requireParenthesesAroundIIFE": true, | |
"requireSpacesInConditionalExpression": true, | |
"disallowSpacesInNamedFunctionExpression": { | |
"beforeOpeningRoundBrace": true | |
}, | |
"disallowSpacesInFunctionDeclaration": { | |
"beforeOpeningRoundBrace": true | |
}, | |
"requireSpaceBetweenArguments": true, | |
"requireMultipleVarDecl": "onevar", | |
"requireBlocksOnNewline": true, | |
"disallowEmptyBlocks": true, | |
"disallowSpacesInsideArrayBrackets": true, | |
"disallowSpacesInsideParentheses": true, | |
"disallowDanglingUnderscores": true, | |
"disallowSpaceAfterPrefixUnaryOperators": true, | |
"disallowSpaceBeforePostfixUnaryOperators": true, | |
"disallowSpaceBeforeBinaryOperators": [ | |
"," | |
], | |
"requireSpacesInForStatement": true, | |
"requireSpaceBeforeBinaryOperators": true, | |
"requireSpaceAfterBinaryOperators": true, | |
"disallowKeywords": [ | |
"with", | |
"continue" | |
], | |
"validateIndentation": 4, | |
"disallowMixedSpacesAndTabs": true, | |
"disallowTrailingWhitespace": true, | |
"disallowTrailingComma": true, | |
"disallowKeywordsOnNewLine": [ | |
"else" | |
], | |
"requireLineFeedAtFileEnd": true, | |
"requireCapitalizedConstructors": true, | |
"requireDotNotation": true, | |
"disallowNewlineBeforeBlockStatements": true, | |
"disallowMultipleLineStrings": true, | |
"requireSpaceBeforeObjectValues": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment