-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtslint.json
44 lines (42 loc) · 970 Bytes
/
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
{
"extends": [
"tslint-microsoft-contrib"
],
"rules": {
"no-unsafe-any": false,
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"allow-number"
],
"newline-before-return": false,
"no-for-in-array": false,
"restrict-plus-operands": false,
"quotemark": [
true,
"single"
],
"no-relative-imports": false,
"no-single-line-block-comment": false,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[A-Z][\\w\\d]+$",
"function-regex": "^[a-z][\\w\\d]+$"
}
],
"no-default-export": false,
"underscore-consistent-invocation": false
}
}