-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
70 lines (66 loc) · 1.79 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"extends": ["tslint:recommended", "tslint-eslint-rules"],
"rules": {
"variable-name": [true, "allow-leading-underscore", "ban-keywords"],
"quotemark": [true, "single", "jsx-double", "avoid-template"],
"linebreak-style": [true, "LF"],
"semicolon": [true, "always", "ignore-interfaces"],
"max-line-length": [true, 120],
"indent": [true, "spaces"],
"align": [
true,
"arguments",
"elements",
"members",
"parameters",
"statements"
],
"trailing-comma": [
true,
{
"multiline": {
"arrays": "always",
"objects": "always",
"functions": "never",
"imports": "always",
"exports": "always",
"typeLiterals": "always"
},
"singleline": {
"arrays": "never",
"objects": "never",
"functions": "never",
"imports": "never",
"exports": "never",
"typeLiterals": "never"
},
"esSpecCompliant": true
}
],
"space-before-function-paren": [2, "always"],
"strict-type-predicates": true,
"object-literal-sort-keys": false,
"interface-name": false,
"triple-equals": true,
"no-constant-condition": true,
"no-console": true,
"no-debugger": true,
"no-extra-boolean-cast": true,
"no-irregular-whitespace": true,
"no-multi-spaces": true,
"no-consecutive-blank-lines": true,
"no-eval": true,
"no-shadowed-variable": true,
"no-trailing-whitespace": true,
"no-extra-semi": true,
"radix": true,
"curly": true,
"no-switch-case-fall-through": true,
"switch-default": true,
"eofline": true,
"no-var-keyword": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true
}
}