-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
168 lines (168 loc) · 3.44 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
{
"extends": [
"tslint:recommended", "tslint-eslint-rules"
],
"rules": {
"max-classes-per-file": false,
"jsdoc-format": false,
"no-consecutive-blank-lines": false,
"object-literal-shorthand": true,
"prefer-const": false,
"interface-name": false,
"ordered-imports": false,
"no-var-requires": false,
"trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
"object-literal-sort-keys": false,
"member-access": [true, "no-public"],
"no-bitwise": false,
"triple-equals": [true, "allow-null-check"],
"forin": true,
"no-namespace": false,
"no-reference": false,
// "no-extend-native": 2,
// "wrap-iife": [
// 2,
// "any"
// ],
"no-use-before-declare": false,
// "new-cap": 0,
"no-arg": true,
// "no-new": 0,
// "no-plusplus": 0,
"no-constant-condition": false,
"quotemark": [true, "single", "avoid-template"],
// "no-undef": 2,
"align": false,
"no-unused-variable": false,
"no-var-keyword": false,
//"strict": 0,
"no-extra-semi": true,
"semicolon": [true, "always"],
"no-console": [true, "log"],
"no-conditional-assignment": false,
"no-debugger": true,
// "no-eq-null": 0,
"no-eval": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
//"accessor-pairs": 0,
//"no-iterator": 0,
"linebreak-style": [true, "LF"],
// "no-loop-func": 2,
// "no-proto": 2,
// "no-script-url": 0,
"no-shadowed-variable": false,
// "dot-notation": [2, {
// "allowKeywords": true,
// "allowPattern": "catch|finally"
// }],
// "no-new-func": 0,
"no-construct": false,
"no-invalid-this": false,
"no-empty": false,
"arrow-parens": false,
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"indent": [true, "spaces", 2],
// "no-multi-str": 2,
"dot-location": [
2,
"property"
],
"operator-linebreak": [
2,
"after"
],
"padded-blocks": [
2,
"never"
],
"object-literal-key-quotes": [
true,
"as-needed"
],
// "space-infix-ops": 2,
// "key-spacing": [
// 2,
// {
// "beforeColon": false,
// "afterColon": true
// }
// ],
// "space-unary-ops": [
// 2,
// {
// "words": false,
// "nonwords": false
// }
// ],
"space-before-function-paren": [true,
{
"anonymous": "never",
"named": "never",
"constructor": "never",
"method": "never"
}
],
// "no-spaced-func": 2,
"array-bracket-spacing": [
true, "never", {
"arraysInArrays": true
}
],
"no-trailing-whitespace": [true, "ignore-jsdoc", "ignore-template-strings", "ignore-comments"],
"whitespace": true,
// "yoda": [
// 2,
// "never"
// ],
"variable-name": false,
// "comma-style": [
// 2,
// "last"
// ],
"curly": [false, "ignore-same-line"],
"only-arrow-functions": false,
"eofline": true,
"one-variable-per-declaration": [false, "ignore-for-loop"],
// "no-useless-escape": 1,
"keyword-spacing": [
2,
{
"overrides": {
"else": {
"before": true
},
"while": {
"before": true
},
"catch": {
"before": true
}
}
}
],
"ter-indent": [
1,
"tab",
{
"SwitchCase": 1,
"MemberExpression": "off"
}
],
"switch-default": true,
"no-unsafe-finally": true,
"no-string-throw": true,
"no-duplicate-super": true
// "valid-jsdoc": [1, {
// "requireReturn": false,
// "requireReturnType": false,
// "requireParamDescription": false,
// "requireReturnDescription": false
// }]
}
}