-
Notifications
You must be signed in to change notification settings - Fork 62
/
tslint.json
52 lines (52 loc) · 1.46 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
{
"extends": [
"tslint:recommended",
"tslint-config-airbnb"
],
"linterOptions": {
"format": "stylish",
"exclude": [
"**/*.json",
"**/*.js"
]
},
"rules": {
"ter-arrow-parens": [true, "as-needed"],
"ter-indent": [true, 2, {
"SwitchCase": 1
}],
"import-name": false,
"curly": [true],
"max-line-length": [true, 255],
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
"grouped-imports": true,
"module-source-path": "full"
}
],
"quotemark": [true, "single", "avoid-escape"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"typedef": [true, "call-signature", "parameter", "property-declaration", "member-variable-declaration"],
"await-promise": [true, "RequestPromise", "Bluebird"],
"no-floating-promises": [true, "RequestPromise", "Bluebird"],
"object-literal-sort-keys": false,
"prefer-for-of": true,
"no-for-in-array": true,
"deprecation": true,
"ban-comma-operator": true,
"interface-name": false,
"interface-over-type-literal": false,
"no-unnecessary-initializer": false,
"array-type": false,
"member-ordering": false,
"max-classes-per-file": false,
"unified-signatures": false,
"no-namespace": false,
"prefer-object-spread": true,
"triple-equals": true,
"eofline": true
}
}