-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
47 lines (47 loc) · 1.12 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"array-type": false,
"interface-name": [true, "never-prefix"],
"prefer-object-spread": true,
"quotemark": [true, "single"],
"space-before-function-paren": [true, "never"],
"interface-over-type-literal": false,
"variable-name": [true, "check-format", "allow-leading-underscore"],
"indent": [true, "spaces", 2],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"semicolon": [true, "always", "strict-bound-class-methods"],
"max-line-length": [true, 120],
"trailing-comma": [ true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}]
},
"linterOptions": {
"exclude": [
"node_modules",
"**/*.json",
"**/*.js"
]
}
}