-
Notifications
You must be signed in to change notification settings - Fork 36
/
tslint.json
113 lines (113 loc) · 1.99 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
{
"env": {
"browser": true,
"node": true
},
"extends": [
"tslint:recommended"
],
"rules": {
"no-floating-promises": [true, "Bluebird"],
"await-promise": [true, "Bluebird"],
"no-unused-expression": true,
"indent": [
"error",
2, {
"SwitchCase": 1
}
],
"max-line-length": [false],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"curly": [
2,
"multi-line"
],
"keyword-spacing": [
2, {}
],
"space-before-blocks": [
2,
"always"
],
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "ignore"
}
],
"no-empty": [
2, {
"allowEmptyCatch": true
}
],
"array-bracket-spacing": [
2,
"never", {}
],
"space-in-parens": [
2,
"never"
],
"trailing-comma": [
true, {
"multiline": "always",
"singleline": "never"
}
],
"comma-style": [
2,
"last"
],
"space-unary-ops": [
2, {
"words": false,
"nonwords": false
}
],
"no-trailing-whitespace": true,
"comma-dangle": [
2,
"never"
],
"brace-style": [
2,
"1tbs", {
"allowSingleLine": true
}
],
"key-spacing": [
2, {
"afterColon": true
}
],
"eqeqeq": [2, "allow-null"],
"no-console": false,
"no-eval": true,
"radix": 2,
"comma-spacing": [2, {
"after": true
}],
"interface-name": [true, "never-prefix"],
"ordered-imports": [false],
"no-shadowed-variable": false,
"object-literal-sort-keys": false,
"array-type": [true, "generic"],
"no-consecutive-blank-lines": false,
"no-trailing-whitespace": false,
"max-classes-per-file": false,
"prefer-method-signature": true
}
}