Skip to content

Commit 85fe075

Browse files
Format JSON files for improved readability in Assignments.json and WoWSavedVariables.json
1 parent 0b81aba commit 85fe075

2 files changed

Lines changed: 100 additions & 96 deletions

File tree

tests/data/Assignments.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
2-
"MyAddonDB": {
3-
"enabled": true,
4-
"fontSize": 14,
5-
"name": "TestAddon"
6-
},
7-
"MyAddonOptions": {
8-
"showTooltips": false,
9-
"scale": 0.85,
10-
"colors": [0.5, 0.8, 1.0]
11-
}
2+
"MyAddonDB": {
3+
"enabled": true,
4+
"fontSize": 14,
5+
"name": "TestAddon"
6+
},
7+
"MyAddonOptions": {
8+
"showTooltips": false,
9+
"scale": 0.85,
10+
"colors": [
11+
0.5,
12+
0.8,
13+
1.0
14+
]
15+
}
1216
}

tests/data/WoWSavedVariables.json

Lines changed: 86 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,92 @@
11
{
2-
"WildDB": {
3-
"tooltip": {
4-
"enabled": true,
5-
"lines": {
6-
"itemID": "always",
7-
"sellPrice": "settings",
8-
"quality": "settings",
9-
"itemLevel": "settings",
10-
"bindType": "settings"
11-
}
12-
},
13-
"vendorSellRules": {},
14-
"lootAutoLoot": true,
15-
"screenCenterCircle": true,
16-
"screenCenterCircleSize": 48,
17-
"screenCenterCircleThickness": 5,
18-
"lfg": {
19-
"autoAcceptQueue": false,
20-
"autoConfirmRole": true,
21-
"autoAcceptRoleCheck": true,
22-
"quickApply": true,
23-
"keystoneButtons": true,
24-
"filters": {
25-
"enabled": false,
26-
"hideDelisted": true,
27-
"maxMembers": 0,
28-
"hideIneligible": false,
29-
"hidePvP": false,
30-
"minMembers": 0
31-
}
32-
},
33-
"craftingOrders": {
34-
"enabled": true,
35-
"maxLevel": 0,
36-
"currentExpansionOnly": true,
37-
"minLevel": 0,
38-
"filters": {
39-
"3": true,
40-
"6": false,
41-
"7": true,
42-
"8": true
43-
}
44-
},
45-
"datastore": {
46-
"characters": {
47-
"Clawe-Tarren Mill": {
48-
"bags": [
49-
{
50-
"name": "Hearthstone",
51-
"itemID": 6948,
52-
"count": 1,
53-
"isBound": true,
54-
"quality": 1,
55-
"bag": 0,
56-
"slot": 1
57-
},
58-
{
59-
"name": "Mythic Keystone",
60-
"itemID": 180653,
61-
"count": 1,
62-
"isBound": true,
63-
"quality": 4,
64-
"bag": 1,
65-
"slot": 2
66-
}
67-
],
68-
"bagsUpdated": 1776093709,
69-
"bankUpdated": 1776093705
70-
}
71-
}
72-
},
73-
"eventTrace": [
74-
"[1049155.942] GUILD_ROSTER_UPDATE | false",
75-
"[1049156.293] LFG_LIST_SEARCH_RESULT_UPDATED | 1404",
76-
"[1049156.678] COMPANION_UPDATE | MOUNT"
77-
]
2+
"WildDB": {
3+
"tooltip": {
4+
"enabled": true,
5+
"lines": {
6+
"itemID": "always",
7+
"sellPrice": "settings",
8+
"quality": "settings",
9+
"itemLevel": "settings",
10+
"bindType": "settings"
11+
}
12+
},
13+
"vendorSellRules": {},
14+
"lootAutoLoot": true,
15+
"screenCenterCircle": true,
16+
"screenCenterCircleSize": 48,
17+
"screenCenterCircleThickness": 5,
18+
"lfg": {
19+
"autoAcceptQueue": false,
20+
"autoConfirmRole": true,
21+
"autoAcceptRoleCheck": true,
22+
"quickApply": true,
23+
"keystoneButtons": true,
24+
"filters": {
25+
"enabled": false,
26+
"hideDelisted": true,
27+
"maxMembers": 0,
28+
"hideIneligible": false,
29+
"hidePvP": false,
30+
"minMembers": 0
31+
}
7832
},
79-
"WildDBOptions": {
80-
"profileKeys": {
81-
"Clawe - Tarren Mill": "Default",
82-
"Lucretius - Tarren Mill": "Default"
83-
},
84-
"profiles": {
85-
"Default": {
86-
"minimap": {
87-
"hide": false
88-
}
33+
"craftingOrders": {
34+
"enabled": true,
35+
"maxLevel": 0,
36+
"currentExpansionOnly": true,
37+
"minLevel": 0,
38+
"filters": {
39+
"3": true,
40+
"6": false,
41+
"7": true,
42+
"8": true
43+
}
44+
},
45+
"datastore": {
46+
"characters": {
47+
"Clawe-Tarren Mill": {
48+
"bags": [
49+
{
50+
"name": "Hearthstone",
51+
"itemID": 6948,
52+
"count": 1,
53+
"isBound": true,
54+
"quality": 1,
55+
"bag": 0,
56+
"slot": 1
57+
},
58+
{
59+
"name": "Mythic Keystone",
60+
"itemID": 180653,
61+
"count": 1,
62+
"isBound": true,
63+
"quality": 4,
64+
"bag": 1,
65+
"slot": 2
8966
}
67+
],
68+
"bagsUpdated": 1776093709,
69+
"bankUpdated": 1776093705
70+
}
71+
}
72+
},
73+
"eventTrace": [
74+
"[1049155.942] GUILD_ROSTER_UPDATE | false",
75+
"[1049156.293] LFG_LIST_SEARCH_RESULT_UPDATED | 1404",
76+
"[1049156.678] COMPANION_UPDATE | MOUNT"
77+
]
78+
},
79+
"WildDBOptions": {
80+
"profileKeys": {
81+
"Clawe - Tarren Mill": "Default",
82+
"Lucretius - Tarren Mill": "Default"
83+
},
84+
"profiles": {
85+
"Default": {
86+
"minimap": {
87+
"hide": false
9088
}
89+
}
9190
}
91+
}
9292
}

0 commit comments

Comments
 (0)