-
Notifications
You must be signed in to change notification settings - Fork 28
/
tslint.json
36 lines (36 loc) · 1.08 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
{
"defaultSeverity": "warning",
"extends": ["tslint:recommended"],
"rules": {
"semicolon": [true, "never"],
"arrow-parens": [true, "always"],
"typedef": [
true,
"call-signature",
"parameter",
"arrow-parameter",
"property-declaration",
"member-variable-declaration"
],
"align": [true, "elements", "members", "parameters", "statements"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"newline-before-return": true,
"no-relative-imports": false,
"no-inner-html": false,
"prefer-type-cast": false,
"no-console": [true, ["warning", "error"]],
"no-namespace": false
},
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"]
}