Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 37 lines (36 sloc) 1.79 KB
{
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowEmptyBlocks": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireParenthesesAroundIIFE": true,
"validateQuoteMarks": "'",
"disallowTrailingWhitespace": true,
"requireSpacesInsideObjectBrackets": "all",
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"requireCapitalizedConstructors": true,
"disallowSpaceAfterObjectKeys": true,
"requireOperatorBeforeLineBreak": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceBeforeBinaryOperators": [ "=", "+", "-", "/", "*", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpaceAfterBinaryOperators": [ "=", "+", "-", "/", "*", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowKeywords": ["with"],
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": ["else"],
"requireLineFeedAtFileEnd": true,
"safeContextKeyword": "that",
"requireDotNotation": true,
"validateIndentation": 4,
"excludeFiles": ["node_modules/**", "jquery.js"]
}