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
|
|
|
|
},
|
|
|
|
|
|
|
|
"requireSpacesInsideParentheses": "allButNested",
|
|
|
|
"requireSpacesInsideObjectBrackets": "allButNested",
|
|
|
|
"requireSpacesInsideArrayBrackets": "allButNested",
|
|
|
|
|
|
|
|
"requireParenthesesAroundIIFE": true,
|
|
|
|
|
|
|
|
"disallowSpacesInFunctionExpression": {
|
|
|
|
"beforeOpeningRoundBrace": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"disallowKeywords": ["with"],
|
|
|
|
"disallowImplicitTypeConversion": ["string"]
|
|
|
|
|
|
|
|
}
|