-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
101 lines (101 loc) · 1.75 KB
/
Copy pathtslint.json
File metadata and controls
101 lines (101 loc) · 1.75 KB
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
{
"extends": [
"tslint-eslint-rules",
"tslint:recommended"
],
"rules": {
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"curly": [
true,
"ignore-same-line"
],
"member-access": [
true,
"no-public"
],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-instance-field",
"public-constructor",
"private-static-field",
"private-instance-field",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-console": [
false
],
"no-shadowed-variable": [
false
],
"no-unused-variable": [
true,
{
"ignore-pattern": "^debug"
}
],
"no-use-before-declare": [
true
],
"object-curly-spacing": [
true,
"never"
],
"object-literal-sort-keys": [
false
],
"one-variable-per-declaration": [
true
],
"quotemark": [
true,
"single"
],
"space-before-function-paren": [
true,
"always"
],
"ter-indent": [
true,
2,
{
"SwitchCase": 1
}
],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-preblock",
"check-rest-spread",
"check-separator",
"check-type",
"check-type-operator",
"check-typecast"
]
}
}