Skip to content

Commit 1af02f8

Browse files
committed
chore(prettier): Update prettier 3.2.5 -> 3.5.2
1 parent f37c2fe commit 1af02f8

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

API/constants/pets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class Eerie extends Pet {
334334
const mult = getValue(this.rarity, { legendary: 0.01 });
335335

336336
const primalFearKills = this.profile.kills
337-
? this.profile.kills.kills.find((mob) => mob.entityId === "primal_fear")?.amount ?? 0
337+
? (this.profile.kills.kills.find((mob) => mob.entityId === "primal_fear")?.amount ?? 0)
338338
: 0;
339339
const kills = Math.max(primalFearKills, 150);
340340

API/constants/skills.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function getLevelByXp(xp, extra = {}) {
5959
/** the maximum level that any player can achieve (used for gold progress bars) */
6060
const maxLevel = isInfiniteLevelable
6161
? Math.max(uncappedLevel, levelCap)
62-
: skillTables.maxedSkillCaps[extra.type] ?? levelCap;
62+
: (skillTables.maxedSkillCaps[extra.type] ?? levelCap);
6363

6464
/** the level as displayed by in game UI */
6565
const level = isInfiniteLevelable ? uncappedLevel : Math.min(levelCap, uncappedLevel);

API/stats/pets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = (profile) => {
4444
petData.hatching?.level > pet.level
4545
? petData.hatching.name
4646
: petData.name
47-
? petData.name[pet.rarity] ?? petData.name.default
47+
? (petData.name[pet.rarity] ?? petData.name.default)
4848
: titleCase(pet.type.replaceAll("_", " "));
4949

5050
// Rarity upgrades

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
"globals": "^16.0.0",
6161
"jest": "^29.7.0",
6262
"nodemon": "^3.1.9",
63-
"prettier": "3.2.5"
63+
"prettier": "^3.5.2"
6464
}
6565
}

0 commit comments

Comments
 (0)