-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
98 lines (98 loc) · 3.32 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-config-prettier",
"tslint-import-group-ordering"
],
"jsRules": {},
"rules": {
"switch-default": false,
"interface-name": false,
"semicolon": [true, "always"],
"ordered-imports": false,
"quotemark": [true, "single", "jsx-double"],
"no-console": false,
"no-empty": false,
"no-unused-variable": true,
"no-shadowed-variable": false,
"object-literal-sort-keys": false,
"import-group-ordering": {
"severity": "error",
"options": {
"imports-groups": [
{"name": "dependencies"},
{"name": "other"},
{"name": "library"},
{"name": "config"},
{"name": "redux"},
{"name": "constant"},
{"name": "style"},
{"name": "page"},
{"name": "container"},
{"name": "module"},
{"name": "component"}
],
"matching-rules": [
{
"type": "dependencies",
"imports-group": "dependencies",
"disable-native-nodejs-modules": true,
"from-package.json": true
},
{
"type": "project",
"matches": "^(config)",
"imports-group": "config"
},
{
"type": "project",
"matches": "^(libs)",
"imports-group": "library"
},
{
"type": "project",
"matches": "^(constants)",
"imports-group": "constant"
},
{
"type": "project",
"matches": "^(store)",
"imports-group": "redux"
},
{
"type": "project",
"matches": "^(pages)",
"imports-group": "page"
},
{
"type": "project",
"matches": "^(containers)",
"imports-group": "container"
},
{
"type": "project",
"matches": "^(modules)",
"imports-group": "module"
},
{
"type": "project",
"matches": "^(components)",
"imports-group": "component"
},
{
"type": "project",
"matches": "^(styles)",
"imports-group": "style"
},
{
"type": "project",
"matches": ".*",
"imports-group": "other"
}
]
}
}
},
"rulesDirectory": []
}