-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimport-sorter.json
37 lines (37 loc) · 1.11 KB
/
import-sorter.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
{
"generalConfiguration.sortOnBeforeSave": true,
"importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimitExceptIfOnlyOne",
"importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 120,
"importStringConfiguration.tabSize": 4,
"importStringConfiguration.quoteMark": "single",
"importSorter.importStringConfiguration.hasSemicolon": false,
"importSorter.importStringConfiguration.trailingComma": "multi-line",
"importSorter.sortConfiguration.customOrderingRules.rules": [
{
"type": "importMember",
"regex": "^$",
"orderLevel": 10,
"disableSort": true
},
{
"regex": "^@pulumi",
"orderLevel": 28
},
{
"regex": "^[@]",
"orderLevel": 30
},
{
"regex": "components/",
"orderLevel": 38
},
{
"regex": "helpers/",
"orderLevel": 39
},
{
"regex": ".*",
"orderLevel": 40
}
]
}