59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
{
|
|
"excludeFiles": [
|
|
".venv/**",
|
|
"bower_components/**",
|
|
"horizon/.coverage-karma/**",
|
|
"lib/**",
|
|
"node_modules/**",
|
|
"openstack_dashboard/.coverage-karma/**"
|
|
],
|
|
"requireCurlyBraces": [
|
|
"if",
|
|
"else",
|
|
"for",
|
|
"while",
|
|
"do",
|
|
"try",
|
|
"catch"
|
|
],
|
|
"requireOperatorBeforeLineBreak": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
|
|
"maximumLineLength": {
|
|
"value": 100,
|
|
"allowComments": true,
|
|
"allowRegex": true
|
|
},
|
|
"validateIndentation": 2,
|
|
"disallowMultipleLineStrings": true,
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowTrailingWhitespace": true,
|
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
|
"disallowMultipleVarDecl": "exceptUndefined",
|
|
"requireSpaceAfterKeywords": [
|
|
"if",
|
|
"else",
|
|
"for",
|
|
"while",
|
|
"do",
|
|
"switch",
|
|
"return",
|
|
"try",
|
|
"catch"
|
|
],
|
|
"requireSpaceBeforeBinaryOperators": [
|
|
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
|
|
"&=", "|=", "^=", "+=",
|
|
|
|
"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
|
|
"|", "^", "&&", "||", "===", "==", ">=",
|
|
"<=", "<", ">", "!=", "!=="
|
|
],
|
|
"requireSpaceAfterBinaryOperators": true,
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"disallowMultipleLineBreaks": true,
|
|
"disallowTrailingComma": true,
|
|
"requireParenthesesAroundIIFE": true
|
|
}
|