This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
tslint.json
113 lines (108 loc) · 3.19 KB
/
tslint.json
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"rules": {
"member-access": [true, "no-public"],
"ban-types": [true,
["Object", "Use object instead"],
["String", "Use string instead"],
["Number", "Use number instead"],
["Boolean", "Use boolean instead"]
],
"member-ordering": [true,
{
"order": [
"static-field",
"instance-field",
"constructor",
"static-method",
"instance-method"
]
}
],
"no-any": true,
"no-import-side-effect": true,
"no-non-null-assertion": true,
"no-reference": true,
"no-unnecessary-type-assertion": true,
"no-var-requires": true,
"promise-function-async": true,
"typedef": [true,
"call-signature",
"arrow-call-signature",
"parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration",
"object-destructuring",
"array-destructuring"
],
"typedef-whitespace": [true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"unified-signatures": false,
"await-promise": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-duplicate-super": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": [true, "Observable"],
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-misused-new": true,
"no-null-keyword": true,
"no-return-await": true,
"no-sparse-arrays": true,
"no-string-throw": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"no-var-keyword": true,
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"prefer-conditional-expression": [true, "check-else-if"],
"radix": true,
"restrict-plus-operands": true,
"strict-boolean-expressions": true,
"use-isnan": true,
"cyclomatic-complexity": true,
"deprecation": true,
"max-classes-per-file": [true, 7],
"max-file-line-count": [true, 500],
"max-line-length": [true, 150],
"no-duplicate-imports": true,
"prefer-const": true,
"array-type": [true, "generic"],
"arrow-return-shorthand": true,
"class-name": true,
"encoding": true,
"import-spacing": true,
"interface-over-type-literal": true,
"jsdoc-format": [true, "check-multiline-start"],
"new-parens": true,
"no-consecutive-blank-lines": [true, 2],
"no-irregular-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"prefer-method-signature": true,
"prefer-switch": true,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "double", "avoid-template", "avoid-escape"],
"space-before-function-paren": [true, "never"],
"variable-name": [true, "check-format"]
},
"rulesDirectory": [
"node_modules/tslint/lib/rules"
]
}