-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtslint.json
46 lines (45 loc) · 935 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
45
46
{
"extends": [
"tslint:recommended"
],
"rules": {
"indent": [true, "tabs", 4],
"interface-name": [true, "never-prefix"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"no-angle-bracket-type-assertion": false,
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
}
}
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-preblock",
"check-separator",
"check-type"
],
"max-classes-per-file": [
false
],
"member-ordering": [
true,
{ "order": ["instance-field", "static-field", "instance-method", "static-method"] }
]
}
}