-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
63 lines (60 loc) · 1.89 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
{
"extends": [
"tslint:latest",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": [
"./node_modules/**"
]
},
"defaultSeverity": "warning",
"rules": {
"array-type": [true, "array"],
"no-implicit-dependencies": false,
"no-string-literal": false,
"member-ordering": true,
"no-submodule-imports": false,
"object-literal-sort-keys": false,
"prefer-conditional-expression": false,
"prefer-for-of": false,
"no-bitwise": false,
"object-literal-key-quotes": false,
"one-line": false,
"space-before-function-paren": false,
"space-within-parens": false,
"align": [true, "parameters", "statements"],
"arrow-parens": true,
"eofline": true,
"import-spacing": true,
"indent": [true, "spaces", 4],
"max-line-length": [true, 120],
"new-parens": true,
"no-consecutive-blank-lines": [true, 2],
"no-trailing-whitespace": true,
"quotemark": [true, "double"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [
true,
{
"singleline": {
"objects": "never",
"arrays": "never",
"functions": "never",
"typeLiterals": "never"
},
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
],
"typedef-whitespace": false,
"whitespace": [true, "check-branch", "check-operator", "check-typecast"],
"interface-over-type-literal": false
}
}