-
Notifications
You must be signed in to change notification settings - Fork 8
/
tslint.json
46 lines (46 loc) · 1.2 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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"rules": {
"align": [true, "parameters", "statements", "elements"],
"arrow-return-shorthand": { "severity": "warn" },
"cyclomatic-complexity": [true, 7],
"interface-name": false,
"no-bitwise": false,
"no-trailing-whitespace": true,
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"prefer-for-of": false,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "never"],
"space-before-function-paren": [true, "always"],
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case", "allow-leading-underscore"],
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never"
}, "singleline": "never",
"esSpecCompliant": true
}],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
]
},
"linterOptions": {
"exclude": [
"dist/**",
"**/*.js"
]
}
}