-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
53 lines (50 loc) · 1.5 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
{
"defaultSeverity": "warning",
"extends": [ "tslint:recommended" ],
"linterOptions": {
"exclude": [
"node_modules/**"
]
},
"rules": {
"interface-name": false,
"no-consecutive-blank-lines": false,
"indent": [ true, "spaces", 4 ],
"interface-over-type-literal": false,
"member-ordering": [
true,
{
"order": [
"public-static-field",
"private-static-field",
"public-instance-field",
"private-instance-field",
"private-constructor",
"public-constructor",
"public-static-method",
"private-static-method",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-unused-expression": true,
"object-literal-sort-keys": [
true,
"match-declaration-order"
],
"one-line": false,
"ordered-imports": false,
"quotemark": [ true, "double" ],
"trailing-comma": [ true, { "multiline": "never", "singleline": "never" } ],
"unified-signatures": false,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-snake-case"
]
}
}