81 lines
2.0 KiB
JSON
81 lines
2.0 KiB
JSON
{
|
|
"rules": {
|
|
"align": [false, "parameters", "arguments", "statements"],
|
|
"ban": [true, ["angular", "forEach"]],
|
|
"class-name": true,
|
|
"comment-format": [false, "check-space", "check-lowercase"],
|
|
"curly": true,
|
|
"eofline": false,
|
|
"forin": true,
|
|
"indent": [true, 4],
|
|
"interface-name": false,
|
|
"jsdoc-format": true,
|
|
"label-position": true,
|
|
"max-line-length": [false, 140],
|
|
"member-ordering": [
|
|
false,
|
|
"public-before-private",
|
|
"static-before-instance",
|
|
"variables-before-functions"
|
|
],
|
|
"no-any": false,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-console": [false, "debug", "info", "time", "timeEnd", "trace"],
|
|
"no-construct": true,
|
|
"no-constructor-vars": false,
|
|
"no-debugger": false,
|
|
"no-shadowed-variable": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-require-imports": true,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"no-var-requires": true,
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [true, "single"],
|
|
"radix": false,
|
|
"semicolon": true,
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"typedef": [
|
|
true,
|
|
"callSignature",
|
|
"catchClause",
|
|
"indexSignature",
|
|
"parameter",
|
|
"propertySignature",
|
|
"variableDeclarator"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"variable-name": [true, "allow-leading-underscore"],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|