Fix tlsint

This commit is contained in:
Travis Ralston 2019-09-27 13:54:34 -06:00
parent d6afd1a6b4
commit 05e86a972b
1 changed files with 67 additions and 26 deletions

View File

@ -1,31 +1,72 @@
{ {
"extends": "tslint:recommended",
"rules": { "rules": {
"ordered-imports": false, "class-name": false,
"no-trailing-whitespace": "error", "comment-format": [
"max-classes-per-file": { true
"severity": "warning" ],
}, "curly": false,
"object-literal-sort-keys": "off", "eofline": false,
"no-any": { "forin": false,
"severity": "warning" "indent": [
}, true,
"arrow-return-shorthand": true, "spaces"
"no-magic-numbers": true, ],
"prefer-for-of": true, "label-position": true,
"typedef": { "max-line-length": false,
"severity": "warning" "member-access": false,
}, "member-ordering": [
"await-promise": true, true,
"curly": true, "static-after-instance",
"no-empty": { "variables-before-functions"
"severity": "warning" ],
}, "no-arg": true,
"no-invalid-this": true, "no-bitwise": false,
"no-string-throw": { "no-console": false,
"severity": "warning" "no-construct": true,
}, "no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-inferrable-types": true,
"no-shadowed-variable": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": true, "no-unused-expression": true,
"prefer-const": true "no-use-before-declare": false,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": false,
"radix": true,
"semicolon": [
"always"
],
"triple-equals": [],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
} }
} }