62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
{
|
|
"disallowDanglingUnderscores": true,
|
|
"disallowEmptyBlocks": true,
|
|
"disallowImplicitTypeConversion": [
|
|
"binary",
|
|
"boolean",
|
|
"numeric",
|
|
"string"
|
|
],
|
|
"disallowMixedSpacesAndTabs": true,
|
|
"disallowMultipleSpaces": true,
|
|
"disallowMultipleVarDecl": true,
|
|
"disallowNewlineBeforeBlockStatements": true,
|
|
"disallowQuotedKeysInObjects": true,
|
|
"disallowSpaceAfterObjectKeys": true,
|
|
"disallowSpaceAfterPrefixUnaryOperators": true,
|
|
"disallowSpaceBeforeComma": true,
|
|
"disallowSpaceBeforeSemicolon": true,
|
|
"disallowSpacesInCallExpression": true,
|
|
"disallowTrailingComma": true,
|
|
"disallowTrailingWhitespace": true,
|
|
"disallowYodaConditions": true,
|
|
"maximumLineLength": 100,
|
|
"requireBlocksOnNewline": true,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
|
"requireCapitalizedConstructors": true,
|
|
"requireCommaBeforeLineBreak": true,
|
|
"requireCurlyBraces": true,
|
|
"requireDotNotation": true,
|
|
"requireFunctionDeclarations": true,
|
|
"requireKeywordsOnNewLine": [
|
|
"else"
|
|
],
|
|
"requireLineBreakAfterVariableAssignment": true,
|
|
"requireLineFeedAtFileEnd": true,
|
|
"requireObjectKeysOnNewLine": true,
|
|
"requireParenthesesAroundIIFE": true,
|
|
"requireSemicolons": true,
|
|
"requireSpaceAfterBinaryOperators": true,
|
|
"requireSpaceAfterKeywords": true,
|
|
"requireSpaceAfterLineComment": true,
|
|
"requireSpaceBeforeBinaryOperators": true,
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
"requireSpaceBeforeObjectValues": true,
|
|
"requireSpaceBetweenArguments": true,
|
|
"requireSpacesInConditionalExpression": true,
|
|
"requireSpacesInForStatement": true,
|
|
"requireSpacesInFunction": {
|
|
"beforeOpeningRoundBrace": true,
|
|
"beforeOpeningCurlyBrace": true
|
|
},
|
|
"validateIndentation": "\t",
|
|
"validateLineBreaks": "LF",
|
|
"validateParameterSeparator": ", ",
|
|
"validateQuoteMarks": "'",
|
|
|
|
"excludeFiles": [
|
|
"coverage",
|
|
"node_modules"
|
|
]
|
|
}
|