113 lines
1.9 KiB
JSON
113 lines
1.9 KiB
JSON
|
|
{
|
||
|
|
"excludeFiles": [
|
||
|
|
]
|
||
|
|
, "requireCurlyBraces": [
|
||
|
|
"if"
|
||
|
|
, "else"
|
||
|
|
, "for"
|
||
|
|
, "while"
|
||
|
|
, "do"
|
||
|
|
, "try"
|
||
|
|
, "catch"
|
||
|
|
]
|
||
|
|
, "requireSpaceAfterKeywords": [
|
||
|
|
"if"
|
||
|
|
, "else"
|
||
|
|
, "for"
|
||
|
|
, "while"
|
||
|
|
, "do"
|
||
|
|
, "switch"
|
||
|
|
, "return"
|
||
|
|
, "try"
|
||
|
|
, "catch"
|
||
|
|
]
|
||
|
|
, "requireSpacesInFunctionExpression": {
|
||
|
|
"beforeOpeningCurlyBrace": true
|
||
|
|
}
|
||
|
|
, "disallowSpacesInFunctionExpression": {
|
||
|
|
"beforeOpeningRoundBrace": true
|
||
|
|
}
|
||
|
|
, "disallowEmptyBlocks": true
|
||
|
|
, "disallowSpacesInsideObjectBrackets": true
|
||
|
|
, "disallowSpacesInsideArrayBrackets": true
|
||
|
|
, "disallowSpacesInsideParentheses": true
|
||
|
|
, "disallowSpaceAfterObjectKeys": true
|
||
|
|
, "disallowCommaBeforeLineBreak": true
|
||
|
|
, "requireOperatorBeforeLineBreak": [
|
||
|
|
"?"
|
||
|
|
, "+"
|
||
|
|
, "-"
|
||
|
|
, "/"
|
||
|
|
, "*"
|
||
|
|
, "="
|
||
|
|
, "=="
|
||
|
|
, "==="
|
||
|
|
, "!="
|
||
|
|
, "!=="
|
||
|
|
, ">"
|
||
|
|
, ">="
|
||
|
|
, "<"
|
||
|
|
, "<="
|
||
|
|
]
|
||
|
|
, "disallowSpaceAfterPrefixUnaryOperators": [
|
||
|
|
"++"
|
||
|
|
, "--"
|
||
|
|
, "+"
|
||
|
|
, "-"
|
||
|
|
, "~"
|
||
|
|
, "!"
|
||
|
|
]
|
||
|
|
, "disallowSpaceBeforePostfixUnaryOperators": [
|
||
|
|
"++"
|
||
|
|
, "--"
|
||
|
|
]
|
||
|
|
, "requireSpaceBeforeBinaryOperators": [
|
||
|
|
"+"
|
||
|
|
, "-"
|
||
|
|
, "/"
|
||
|
|
, "*"
|
||
|
|
, "="
|
||
|
|
, "=="
|
||
|
|
, "==="
|
||
|
|
, "!="
|
||
|
|
, "!=="
|
||
|
|
]
|
||
|
|
, "requireSpaceAfterBinaryOperators": [
|
||
|
|
"+"
|
||
|
|
, "-"
|
||
|
|
, "/"
|
||
|
|
, "*"
|
||
|
|
, "="
|
||
|
|
, "=="
|
||
|
|
, "==="
|
||
|
|
, "!="
|
||
|
|
, "!=="
|
||
|
|
]
|
||
|
|
, "disallowImplicitTypeConversion": [
|
||
|
|
"numeric"
|
||
|
|
, "boolean"
|
||
|
|
, "binary"
|
||
|
|
, "string"
|
||
|
|
]
|
||
|
|
, "disallowKeywords": [
|
||
|
|
"with"
|
||
|
|
]
|
||
|
|
, "disallowMultipleLineStrings": true
|
||
|
|
|
||
|
|
, "validateQuoteMarks": "\""
|
||
|
|
, "disallowMixedSpacesAndTabs": true
|
||
|
|
, "disallowTrailingWhitespace": true
|
||
|
|
|
||
|
|
, "requireKeywordsOnNewLine": [
|
||
|
|
]
|
||
|
|
, "requireLineFeedAtFileEnd": true
|
||
|
|
, "requireCapitalizedConstructors": true
|
||
|
|
, "safeContextKeyword": "that"
|
||
|
|
|
||
|
|
, "validateJSDoc": {
|
||
|
|
"checkParamNames": true
|
||
|
|
, "checkRedundantParams": true
|
||
|
|
, "requireParamTypes": true
|
||
|
|
}
|
||
|
|
}
|