forked from thematters/matters-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
61 lines (61 loc) · 1.42 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"no-implicit-dependencies": [
true,
[
"common",
"connectors",
"definitions",
"middlewares",
"types",
"apollo-datasource",
"@sendgrid/helpers",
"apollo-server-testing",
"body-parser",
"ioredis"
]
],
"no-var-requires": false,
"no-console": false,
"prefer-for-of": false,
"variable-name": {
"options": [
"allow-leading-underscore",
"allow-pascal-case",
"allow-snake-case"
]
},
"no-submodule-imports": [false],
"interface-name": false,
"object-literal-sort-keys": false,
"no-object-literal-type-assertion": false,
"member-access": false,
"max-classes-per-file": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
"grouped-imports": true,
"groups": [
{
"name": "local",
"match": "^[.]",
"order": 20
},
{
"name": "internal:others",
"match": "^(common|connectors|definitions|middlewares|mutations|queries|routes|types)",
"order": 15
},
{
"name": "external",
"match": ".*",
"order": 5
}
]
}
]
}
}