aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-07-13 16:57:17 -0400
committerGitHub <noreply@github.com>2021-07-13 16:57:17 -0400
commit89fa98d85546eb93064ce4a2b66e79341750b577 (patch)
tree9216483e37dd7e29783cbc4d284c16cf4f211a68
parent78e761ddbd482ed7927a8e4c6a32c6362d57e8ea (diff)
downloadSkyblockHud-Death-Defied-89fa98d85546eb93064ce4a2b66e79341750b577.tar.gz
SkyblockHud-Death-Defied-89fa98d85546eb93064ce4a2b66e79341750b577.tar.bz2
SkyblockHud-Death-Defied-89fa98d85546eb93064ce4a2b66e79341750b577.zip
Fix print width for json (#4)
* Update .prettierrc.yml * What if I make this 10 * Prettified Code! Co-authored-by: TymanWasTaken <TymanWasTaken@users.noreply.github.com>
-rw-r--r--.prettierrc.yml4
-rw-r--r--src/main/resources/assets/skyblockhud/data/trackers.json22
-rw-r--r--src/main/resources/mixins.skyblockhud.json5
-rw-r--r--trackers.json22
4 files changed, 42 insertions, 11 deletions
diff --git a/.prettierrc.yml b/.prettierrc.yml
index e4672a8..9b94be6 100644
--- a/.prettierrc.yml
+++ b/.prettierrc.yml
@@ -7,3 +7,7 @@ overrides:
tabWidth: 4
endOfLine: lf
printWidth: 999999999 # >:c fine gravy
+ - files:
+ - "*.json"
+ options:
+ printWidth: 10
diff --git a/src/main/resources/assets/skyblockhud/data/trackers.json b/src/main/resources/assets/skyblockhud/data/trackers.json
index a239b26..7966687 100644
--- a/src/main/resources/assets/skyblockhud/data/trackers.json
+++ b/src/main/resources/assets/skyblockhud/data/trackers.json
@@ -1,7 +1,9 @@
{
"trackers": [
{
- "location": ["DRAGONSNEST"],
+ "location": [
+ "DRAGONSNEST"
+ ],
"drops": [
{
"id": "WISE_FRAGMENT",
@@ -102,7 +104,10 @@
]
},
{
- "location": ["RUINS", "HOWLINGCAVE"],
+ "location": [
+ "RUINS",
+ "HOWLINGCAVE"
+ ],
"drops": [
{
"id": "WOLF_TOOTH",
@@ -153,7 +158,9 @@
]
},
{
- "location": ["SPIDERSDEN"],
+ "location": [
+ "SPIDERSDEN"
+ ],
"drops": [
{
"id": "TARANTULA_WEB",
@@ -217,7 +224,10 @@
]
},
{
- "location": ["GRAVEYARD", "COALMINE"],
+ "location": [
+ "GRAVEYARD",
+ "COALMINE"
+ ],
"drops": [
{
"id": "REVENANT_FLESH",
@@ -315,7 +325,9 @@
]
},
{
- "location": ["THEMIST"],
+ "location": [
+ "THEMIST"
+ ],
"drops": [
{
"id": "SORROW",
diff --git a/src/main/resources/mixins.skyblockhud.json b/src/main/resources/mixins.skyblockhud.json
index b6f4593..d928e55 100644
--- a/src/main/resources/mixins.skyblockhud.json
+++ b/src/main/resources/mixins.skyblockhud.json
@@ -2,5 +2,8 @@
"package": "com.thatgravyboat.skyblockhud.mixins",
"refmap": "mixins.skyblockhud.refmap.json",
"compatibilityLevel": "JAVA_8",
- "mixins": ["MixinGuiIngameForge", "MixinNetHandlerPlayClient"]
+ "mixins": [
+ "MixinGuiIngameForge",
+ "MixinNetHandlerPlayClient"
+ ]
}
diff --git a/trackers.json b/trackers.json
index bde6cd8..1fdd53f 100644
--- a/trackers.json
+++ b/trackers.json
@@ -1,7 +1,9 @@
{
"trackers": [
{
- "location": ["DRAGONSNEST"],
+ "location": [
+ "DRAGONSNEST"
+ ],
"drops": [
{
"id": "WISE_FRAGMENT",
@@ -88,7 +90,10 @@
]
},
{
- "location": ["RUINS", "HOWLINGCAVE"],
+ "location": [
+ "RUINS",
+ "HOWLINGCAVE"
+ ],
"drops": [
{
"id": "WOLF_TOOTH",
@@ -127,7 +132,9 @@
]
},
{
- "location": ["SPIDERSDEN"],
+ "location": [
+ "SPIDERSDEN"
+ ],
"drops": [
{
"id": "TOXIC_ARROW_POISON",
@@ -172,7 +179,10 @@
]
},
{
- "location": ["GRAVEYARD", "COALMINE"],
+ "location": [
+ "GRAVEYARD",
+ "COALMINE"
+ ],
"drops": [
{
"id": "FOUL_FLESH",
@@ -245,7 +255,9 @@
]
},
{
- "location": ["YOURISLAND"],
+ "location": [
+ "YOURISLAND"
+ ],
"event": "traveling zoo",
"drops": [
{