-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
63 lines (63 loc) · 1.45 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
{
"extends": [
"tslint-etc",
"tslint:recommended",
"tslint-import-group-ordering",
"tslint-config-prettier"
],
"rules": {
"one-variable-per-declaration": false,
"ignore-bound-class-methods": false,
"member-ordering": false,
"ordered-imports": false,
"prefer-const": false,
"no-unused-declaration": true,
"object-literal-sort-keys": false,
"no-unused-expression": false,
"no-console": false,
"semicolon": [true, "never"],
"no-var-requires": false,
"import-group-ordering": {
"severity": "warning",
"options": {
"imports-groups": [
{
"name": "dependencies"
},
{
"name": "common"
},
{
"name": "product"
},
{
"name": "other"
}
],
"matching-rules": [
{
"type": "project",
"matches": "^(common)",
"imports-group": "common"
},
{
"type": "project",
"matches": "^(product)",
"imports-group": "product"
},
{
"type": "dependencies",
"imports-group": "dependencies",
"disable-native-nodejs-modules": false,
"from-package.json": true
},
{
"type": "project",
"matches": ".*",
"imports-group": "other"
}
]
}
}
}
}