-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
115 lines (115 loc) · 2.11 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
{
"extends": [
"tslint:latest",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"rules": {
"cyclomatic-complexity": true,
"curly": [
true,
"multi-line",
"consistent"
],
"space-before-function-paren": [
true,
"never"
],
"array-type": [
true,
"generic"
],
"typedef": [
true,
"call-signature",
"property-declaration"
],
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast",
"check-rest-spread"
]
},
"triple-equals": true,
"no-empty": true,
"no-invalid-this": true,
"no-construct": true,
"no-string-literal": true,
"no-console": false,
"no-shadowed-variable": true,
"handle-callback-err": true,
"array-bracket-spacing": [
true,
"never"
],
"block-spacing": true,
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"trailing-comma": [
true,
"never"
],
"ter-computed-property-spacing": true,
"eofline": true,
"ter-indent": [
true,
2,
{
"SwitchCase": 1
}
],
"no-consecutive-blank-lines": [
true,
{
"max": 2,
"maxEOF": 1,
"maxBOF": 0
}
],
"ter-no-tabs": true,
"no-trailing-whitespace": true,
"object-curly-spacing": [
true,
"always"
],
"object-literal-key-quotes": [
true,
"as-needed"
],
"quotemark": [
true,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semicolon": [
true,
"never"
],
"comment-format": true,
"ter-arrow-body-style": true,
"ter-arrow-spacing": true,
"ter-prefer-arrow-callback": true,
"space-in-parens": [
true,
"never"
],
"object-literal-sort-keys": false,
"object-literal-shorthand": false,
"new-parens": false,
"variable-name": false,
"no-bitwise": false
}
}