-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtslint.json
56 lines (56 loc) · 1.37 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
{
"extends": ["tslint-config-airbnb", "tslint-react"],
"rules": {
"ter-prefer-arrow-callback": false,
"no-console": true,
"no-increment-decrement": false,
"max-line-length": [
true,
150
],
"align": [
true,
"statements",
"members",
"elements"
],
"no-reference": true,
"no-duplicate-imports": true,
"no-magic-numbers": true,
"promise-function-async": true,
"completed-docs": [
true,
{
"enums": true,
"functions": { "visibilities": ["exported"] },
"classes": true,
"methods": { "privacies": ["public", "protected"] },
"interfaces": { "visibilities": ["exported"] },
"types": { "visibilities": ["exported"] },
"variables": { "visibilities": ["exported"] },
"properties": { "privacies": ["public", "protected"] }
}
],
"member-access": true,
"member-ordering": [
true,
{
"order": [
"instance-field",
"constructor",
"instance-method"
]
}
],
"unified-signatures": true,
"await-promise": true,
"no-empty-interface": false,
"variable-name": false,
"import-name": false,
"jsx-boolean-value": false,
"strict-boolean-expressions": false,
"prefer-const": false,
"one-variable-per-declaration": false,
"function-name": false
}
}