This repository was archived by the owner on May 27, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
93 lines (89 loc) · 3.22 KB
/
tslint.json
File metadata and controls
93 lines (89 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"extends": "tslint:recommended",
"rules": {
"adjacent-overload-signatures": true,
"member-ordering": [true, {"order": "fields-first"}],
"no-for-in": true,
"no-var-requires": true,
"one-variable-per-declaration": false,
"promise-function-async": true,
"unified-signatures": true,
"await-promise": true,
"function-constructor": true,
"no-arg": true,
"no-construct": true,
"no-duplicate-switch-case": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferred-empty-object-type": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-null-keyword": true,
"no-object-literal-type-assertion": [true],
"no-promise-as-boolean": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": true,
"no-tautology-expression": true,
"no-this-assignment": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": false,
"no-var-keyword": true,
"no-void-expression": true,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"radix": true,
"static-this": true,
"strict-type-predicates": true,
"triple-equals": [true, "allow-undefined-check"],
"use-default-type-parameter": true,
"use-isnan": true,
"cyclomatic-complexity": [true, 20],
"deprecation": true,
"invalid-void": true,
"max-classes-per-file": false,
"no-default-import": true,
"no-duplicate-imports": true,
"no-mergeable-namespace": true,
"prefer-const": true,
"prefer-readonly": true,
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"class-name": true,
"encoding": true,
"file-name-casing": [true, "camel-case"],
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-parameter-properties": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": false,
"prefer-method-signature": true,
"prefer-switch": true,
"prefer-template": [true, "allow-single-concat"],
"prefer-while": true,
"return-undefined": true,
"type-literal-delimiter": true,
"unnecessary-bind": true,
"unnecessary-else": true,
"align": [true, "parameters", "arguments", "statements", "members", "elements"],
"eofline": true,
"import-spacing": false,
"indent": [true, "spaces", 4],
"linebreak-style": [true, "LF"],
"new-parens": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"number-literal-format": true,
"quotemark": [true, "single", "backtick"],
"semicolon": [true, "always"]
},
"defaultSeverity": "error"
}