-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
55 lines (55 loc) · 1.34 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"no-unused-expression": true
},
"rules": {
"quotemark": [true, "double"],
"member-access": [false],
"max-line-length": [true, 150],
"member-ordering": [false],
"interface-name": [false],
"arrow-parens": false,
"object-literal-sort-keys": false,
"no-duplicate-imports": [true, {"allow-namespace-imports": true}],
"ordered-imports": {
"options": {
"grouped-imports": true,
"groups": [
{
"name": "source map always first",
"match": "source-map-support/register",
"order": 0
},
{
"name": "External libraries",
"match": "^(?!@nestjs|@routeugo|\\.).+",
"order": 10
},
{
"name": "Nest libraries",
"match": "^@nestjs",
"order": 20
},
{
"name": "Internal libraries",
"match": "^@routeugo",
"order": 30
},
{
"name": "Upper level dependencies",
"match": "^../",
"order": 40
},
{
"name": "Same level dependencies",
"match": "^./.",
"order": 50
}
]
}
}
},
"rulesDirectory": []
}