This repository has been archived by the owner on Aug 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
84 lines (76 loc) · 2.2 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
{
"extends": [
"tslint:recommended",
"tslint:latest",
"tslint-config-prettier",
"tslint-immutable"
],
"rules": {
"arrow-return-shorthand": [true, "multiline"],
"jsdoc-format": true,
"comment-format": [true, "check-space"],
"indent": [true, "spaces"],
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"semicolon": [true, "never", "ignore-bound-class-methods"],
"no-trailing-whitespace": true,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type"
],
"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"
}
],
"newline-before-return": true,
"no-var-keyword": true,
"no-parameter-reassignment": true,
"typedef": [true, "call-signature"],
"readonly-keyword": true,
"readonly-array": true,
"no-let": true,
"no-object-mutation": true,
"no-array-mutation": [true, "ignore-mutation-following-accessor"],
"no-delete": true,
"no-this": true,
"no-class": true,
"no-mixed-interface": true,
"no-expression-statement": true,
"no-loop-statement": true,
"no-if-statement": true,
"no-method-signature": true,
"no-else-after-return": true,
"no-submodule-imports": true,
"no-consecutive-blank-lines": true,
"no-implicit-dependencies": [true, "dev"],
"cyclomatic-complexity": [true, 10],
"no-unnecessary-callback-wrapper": true,
"no-for-in-array": true,
"no-string-throw": true,
"no-use-before-declare": true,
"no-string-literal": true,
"no-invalid-template-strings": true,
"no-inferrable-types": true,
"prefer-template": [true, "allow-single-concat"],
"quotemark": {
"options": ["single", "avoid-escape", "avoid-template"]
}
}
}