-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
75 lines (75 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"extends": "tslint:recommended",
"defaultSeverity": "warn",
"linterOptions": {
"exclude": [
"**/*.json"
]
},
"rules": {
"align": [true,
"statements"
],
"arrow-return-shorthand": true,
"arrow-parens": false,
"array-type": [
true,
"array"
],
"await-promise": true,
"callable-types": false,
"comment-format": [false,
"check-space"
],
"import-spacing": true,
"interface-name": true,
"member-access": [
false
],
"member-ordering": [true, {
"order": [
"static-field",
"instance-field",
"static-method",
"constructor",
"instance-method"
]
}],
"no-angle-bracket-type-assertion": true,
"no-console": [true, "log", "info", "warn", "error"],
"no-empty-interface": false,
"no-default-export": true,
"no-floating-promises": true,
"no-inferrable-types": [true],
"no-string-throw": true,
"object-literal-sort-keys": false,
"ordered-imports": [false,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive"
}
],
"prefer-const": false,
"prefer-method-signature": true,
"quotemark": [true, "double"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"import-blacklist": [true, "bignumber.js", "@sentry/browser", "styled-components"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
]
}
}