2014-09-04 01:25:36 +00:00
|
|
|
{
|
|
|
|
|
2014-09-08 01:31:51 +00:00
|
|
|
"fileExtensions": [".js", ".json"],
|
|
|
|
"excludeFiles": ["node_modules/**", "build/**"],
|
2014-09-04 01:25:36 +00:00
|
|
|
|
2014-09-08 01:31:51 +00:00
|
|
|
"maximumLineLength": 120,
|
|
|
|
"validateLineBreaks": "LF",
|
|
|
|
"validateIndentation": 4,
|
2014-09-04 01:25:36 +00:00
|
|
|
|
2014-09-08 01:31:51 +00:00
|
|
|
"requireSpaceAfterKeywords": [
|
|
|
|
"if",
|
|
|
|
"else",
|
|
|
|
"for",
|
|
|
|
"while",
|
|
|
|
"do",
|
|
|
|
"switch",
|
|
|
|
"return",
|
|
|
|
"try",
|
|
|
|
"catch"
|
|
|
|
],
|
2014-09-04 01:25:36 +00:00
|
|
|
|
2014-09-08 01:31:51 +00:00
|
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
|
|
|
|
|
|
"requireSpacesInConditionalExpression": {
|
|
|
|
"afterTest": true,
|
|
|
|
"beforeConsequent": true,
|
|
|
|
"afterConsequent": true,
|
|
|
|
"beforeAlternate": true
|
|
|
|
},
|
|
|
|
|
2014-09-08 02:43:10 +00:00
|
|
|
"requireSpacesInsideParentheses": "all",
|
|
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
|
|
"requireSpacesInsideArrayBrackets": "all",
|
2014-09-08 01:31:51 +00:00
|
|
|
|
|
|
|
"requireParenthesesAroundIIFE": true,
|
|
|
|
|
|
|
|
"disallowSpacesInFunctionExpression": {
|
|
|
|
"beforeOpeningRoundBrace": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"disallowKeywords": ["with"],
|
|
|
|
"disallowImplicitTypeConversion": ["string"]
|
|
|
|
|
|
|
|
}
|