2015-05-11 17:17:47 +02:00
|
|
|
{
|
|
|
|
"fileExtensions": [ ".js", "jscs" ],
|
|
|
|
"excludeFiles": [ "node_modules/**" ],
|
|
|
|
"validateIndentation": 4,
|
2017-03-10 00:18:22 +01:00
|
|
|
"disallowKeywordsOnNewLine": [],
|
2015-05-11 17:17:47 +02:00
|
|
|
"disallowMixedSpacesAndTabs": true,
|
|
|
|
"disallowMultipleSpaces": {"allowEOLComments": true},
|
2017-03-10 00:18:22 +01:00
|
|
|
"disallowNewlineBeforeBlockStatements": true,
|
|
|
|
"disallowTabs": true,
|
|
|
|
"disallowTrailingWhitespace": true,
|
|
|
|
"requireCurlyBraces": true,
|
2017-02-15 19:33:59 +01:00
|
|
|
//"requireKeywordsOnNewLine": ["else", "catch"],
|
2015-05-11 17:17:47 +02:00
|
|
|
//"requireSemicolons": true,
|
2017-03-10 00:18:22 +01:00
|
|
|
//"requireSpaceAfterBinaryOperators": true,
|
|
|
|
//"requireSpaceAfterComma": {"allExcept": ["trailing"]},
|
|
|
|
"requireSpaceAfterKeywords": ["do","for","if","else","switch","case","try","while"],
|
|
|
|
"requireSpaceBeforeBlockStatements": 1,
|
|
|
|
"requireSpaceBeforeObjectValues": false,
|
|
|
|
"requireSpacesInForStatement": true,
|
|
|
|
"requireSpacesInFunction": { "beforeOpeningCurlyBrace": true },
|
2015-05-11 17:17:47 +02:00
|
|
|
//"validateParameterSeparator": ", ",
|
2016-04-09 19:00:14 +02:00
|
|
|
//"validateQuoteMarks": false,
|
2017-04-12 14:32:08 +02:00
|
|
|
"maximumLineLength": 280
|
2015-05-11 17:17:47 +02:00
|
|
|
}
|