forked from thematters/matters-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
72 lines (72 loc) · 1.58 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
{
"extends": [
"tslint:latest",
"tslint-react",
"tslint-config-prettier",
"tslint-react-hooks"
],
"rules": {
"no-implicit-dependencies": [
true,
[
"~",
"@",
"tippy.js",
"dotenv",
"apollo-cache",
"@testing-library",
"@apollo/react-testing"
]
],
"no-bitwise": false,
"no-submodule-imports": [false],
"jsx-boolean-value": false,
"object-literal-sort-keys": false,
"no-console": false,
"interface-name": false,
"no-object-literal-type-assertion": false,
"jsx-no-lambda": false,
"member-access": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
"grouped-imports": true,
"groups": [
{
"name": "types",
"match": "__generated__",
"order": 30
},
{
"name": "local",
"match": "^[.]",
"order": 25
},
{
"name": "internal:public",
"match": "^@/",
"order": 20
},
{
"name": "internal:others",
"match": "^~/(common|page|definitions)",
"order": 15
},
{
"name": "internal:components",
"match": "^~/components",
"order": 10
},
{
"name": "external",
"match": ".*",
"order": 5
}
]
}
],
"react-hooks-nesting": "error"
}
}