2015-01-14 17:33:34 +00:00
|
|
|
{
|
2016-02-18 00:46:32 +00:00
|
|
|
"disallowMixedSpacesAndTabs": true,
|
2016-02-18 01:08:50 +00:00
|
|
|
"disallowTrailingWhitespace": true,
|
|
|
|
"disallowNewlineBeforeBlockStatements": true,
|
|
|
|
"requireCommaBeforeLineBreak": true,
|
|
|
|
"requireSemicolons": true,
|
|
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
|
|
"disallowSpacesInNamedFunctionExpression": {
|
|
|
|
"beforeOpeningRoundBrace": true
|
|
|
|
},
|
|
|
|
"requireSpacesInNamedFunctionExpression": {
|
|
|
|
"beforeOpeningCurlyBrace": true
|
|
|
|
},
|
|
|
|
"requireCurlyBraces": [
|
|
|
|
"if",
|
|
|
|
"else",
|
|
|
|
"for",
|
|
|
|
"while",
|
|
|
|
"do",
|
|
|
|
"try",
|
|
|
|
"catch"
|
|
|
|
],
|
|
|
|
"requireSpaceAfterKeywords": [
|
|
|
|
"if",
|
|
|
|
"else",
|
|
|
|
"for",
|
|
|
|
"while",
|
|
|
|
"case",
|
|
|
|
"try",
|
|
|
|
"typeof",
|
|
|
|
"return"
|
|
|
|
]
|
2016-02-18 00:46:32 +00:00
|
|
|
}
|