-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtslint.json
70 lines (70 loc) · 1.32 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
{
"defaultSeverity": "warning",
"extends": [
"tslint:recommended"
],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"arrow-parens": false,
"curly": false,
"eofline": false,
"indent": [
true,
"spaces",
2
],
"interface-name": false,
"max-classes-per-file": false,
"max-line-length": false,
"member-access": [
true,
"no-public"
],
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-empty": [
true,
"allow-empty-catch",
"allow-empty-functions"
],
"no-shadowed-variable": false,
"no-string-literal": false,
"no-var-requires": false,
"ordered-imports": true,
"object-literal-sort-keys": false,
"object-literal-key-quotes": false,
"only-arrow-functions": false,
"prefer-const": true,
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"never"
],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"trailing-comma": [
true,
{
"singleline": "never"
}
],
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case"
]
}
}