-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
187 lines (187 loc) · 5.51 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"extends": ["tslint-react"],
"linterOptions": {
"exclude": [
"**/dist/**/*.d.ts"
]
},
"rules": {
"adjacent-overload-signatures": true,
"align": false,
"array-type": [true, "array"],
"arrow-parens": false,
"arrow-return-shorthand": true,
"await-promise": true,
"ban": false,
"ban-types": false,
"binary-expression-operand-order": false,
"callable-types": true,
"class-name": false,
"comment-format": [true, "check-space"],
"completed-docs": false,
"curly": true,
"cyclomatic-complexity": false,
"deprecation": true,
"encoding": true,
"eofline": true,
"file-header": false,
"forin": true,
"import-blacklist": [false],
"import-spacing": true,
"indent": [true, "spaces"],
"interface-name": false,
"interface-over-type-literal": true,
"jsdoc-format": false,
"label-position": true,
"linebreak-style": false,
"match-default-export-name": false,
"max-classes-per-file": false,
"max-file-line-count": false,
"max-line-length": [true, 100],
"member-access": false,
"member-ordering": false,
"new-parens": true,
"newline-before-return": false,
"no-angle-bracket-type-assertion": true,
"no-any": false,
"no-arg": true,
"no-bitwise": true,
"no-boolean-literal-compare": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
"no-construct": true,
"no-debugger": true,
"no-default-export": false,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-empty-interface": false,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-import-side-effect": false,
"no-inferrable-types": [true, "ignore-params"],
"no-inferred-empty-object-type": false,
"no-internal-module": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-irregular-whitespace": true,
"no-magic-numbers": false,
"no-mergeable-namespace": true,
"no-misused-new": true,
"no-namespace": true,
"no-non-null-assertion": false,
"no-null-keyword": false,
"no-object-literal-type-assertion": false,
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-reference": true,
"no-reference-import": true,
"no-require-imports": true,
"no-sparse-arrays": true,
"no-shadowed-variable": false,
"no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-this-assignment": false,
"no-trailing-whitespace": true,
"no-unbound-method": [true, "ignore-static"],
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-assertion": false,
"no-unsafe-any": false,
"no-unsafe-finally": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"no-var-requires": true,
"no-void-expression": false,
"number-literal-format": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"one-variable-per-declaration": true,
"only-arrow-functions": false,
"ordered-imports": true,
"prefer-conditional-expression": true,
"prefer-const": true,
"prefer-for-of": true,
"prefer-function-over-method": false,
"prefer-method-signature": false,
"prefer-object-spread": true,
"prefer-switch": true,
"prefer-template": true,
"promise-function-async": false,
"quotemark": [true, "single"],
"radix": true,
"restrict-plus-operands": true,
"return-undefined": false,
"semicolon": [true, "never"],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"space-within-parens": false,
"strict-boolean-expressions": false,
"strict-type-predicates": true,
"switch-default": true,
"switch-final-break": false,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "always"
},
"esSpecCompliant": true
}
],
"triple-equals": [true, "allow-null-check"],
"type-literal-delimiter": true,
"typedef": true,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"typeof-compare": false,
"unified-signatures": false,
"use-default-type-parameter": true,
"use-isnan": true,
"variable-name": [true, "allow-pascal-case"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"jsx-curly-spacing": ["always"],
"jsx-no-lambda": false,
"jsx-no-multiline-js": false,
"jsx-key": false
},
"rulesDirectory": []
}