-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
47 lines (47 loc) · 1.58 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
{
"defaultSeverity": "error",
"rules": {
"no-any": true,
"no-unnecessary-type-assertion": true,
"prefer-for-of": true,
"promise-function-async": true,
"await-promise": [true, "Bluebird"],
"ban-comma-operator": true,
"no-conditional-assignment": true,
"no-console": {
"options": ["log", "info"],
"severity": "warning"
},
"no-construct": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-dynamic-delete": true,
"no-eval": true,
"no-floating-promises": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-this-assignment": [true, { "allow-destructuring": true }],
"no-unbound-method": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"prefer-object-spread": true,
"triple-equals": true,
"use-isnan": true,
"indent": [true, "spaces", 4],
"no-duplicate-imports": true,
"no-require-imports": true,
"prefer-const": true,
"class-name": true,
"interface-name": [true, "always-prefix"],
"jsdoc-format": true,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always", "ignore-bound-class-methods"]
}
}