-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtslint.json
51 lines (51 loc) · 1.57 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
{
"extends": [
"tslint:recommended"
],
"defaultSeverity": "error",
"jsRules": {
"object-literal-sort-keys": false
},
"rules": {
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"quotemark": false,
"forin": false,
"radix": false,
"arrow-parens": [true, "ban-single-arg-parens"],
"interface-name": [true, "never-prefix"],
"object-literal-sort-keys": false,
"member-ordering": [true, {
"order": [
"private-static-field",
"public-static-field",
"private-instance-field",
"public-instance-field",
"private-constructor",
"public-constructor",
"private-instance-method",
"protected-instance-method",
"public-instance-method"
]
}],
"align": [true, "parameters", "statements", "arguments", "members", "elements"],
"indent": [true, "spaces", 4],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"no-angle-bracket-type-assertion": false,
"max-line-length": {
"severity": "warning",
"options": 120
},
"max-classes-per-file": false,
}
}