-
Notifications
You must be signed in to change notification settings - Fork 14
/
tslint.json
60 lines (60 loc) · 2.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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"extends": ["tslint-config-airbnb"],
"rules": {
"align": [true, "parameters", "arguments", "statements", "members", "elements"],
"indent": [true, "spaces", 2],
"max-line-length": [true, 120],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-preblock",
"check-type",
"check-module",
"check-separator",
"check-rest-spread",
"check-typecast",
"check-type-operator"
],
"await-promise": true,
"ban-comma-operator": true,
"interface-over-type-literal": true,
"jsdoc-format": [true, "check-multiline-start"],
"member-access": [true, "check-accessor"],
"no-duplicate-imports": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-dynamic-delete": true,
"no-empty": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-implicit-dependencies": true,
"no-object-literal-type-assertion": true,
"no-redundant-jsdoc": true,
"no-require-imports": true,
"no-return-await": true,
"no-submodule-imports": true,
"no-this-assignment": true,
"no-unused-expression": true,
"no-var-requires": true,
"one-line": [true, "check-else", "check-whitespace", "check-open-brace", "check-catch", "check-finally"],
"strict-boolean-expressions": [true, "allow-boolean-or-undefined"],
"typedef": [true, "call-signature"],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
]
},
"linterOptions": {
"format": "verbose"
}
}