-
Notifications
You must be signed in to change notification settings - Fork 28
/
tslint.json
56 lines (56 loc) · 1.61 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"prettier": true,
"curly": true,
"semicolon": [true, "always"],
"max-line-length": {
"options": [120]
},
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": false,
"no-console": {
"severity": "warning",
"options": ["debug", "info", "log", "time", "timeEnd", "trace"]
},
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"no-angle-bracket-type-assertion": false,
"arrow-parens": [true],
"object-literal-sort-keys": [false],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"singleline": "never",
"esSpecCompliant": true
}
]
},
"jsRules": {
"max-line-length": {
"options": [120]
},
"object-literal-sort-keys": [false]
}
}