Skip to content

Commit

Permalink
Formatting: Improve general code design and format
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGrieb committed Nov 25, 2023
1 parent aa6e420 commit 3fc140c
Show file tree
Hide file tree
Showing 48 changed files with 1,022 additions and 1,472 deletions.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"printWidth": 120,
"jsxSingleQuote": false,
"trailingComma": "none"
}
6 changes: 3 additions & 3 deletions client/src/Assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export enum GameImage {
SPRITESHEET,
RIVER,
POPUP_BOX,
DEBUG,
DEBUG
}

export enum SpriteRegion {
Expand Down Expand Up @@ -89,7 +89,7 @@ export enum SpriteRegion {
FAITH_ICON = "2,13",
TRADE_ICON = "5,14",
SETTLE_ICON = "11,11",
BUILDING_PALACE = "5,18",
BUILDING_PALACE = "5,18"
}

export const assetList = [
Expand All @@ -102,5 +102,5 @@ export const assetList = [
require("../assets/images/ui_popup_box.png"),
require("../assets/images/debug.png"),
require("../assets/images/font.png"),
require("../assets/images/logo.png"),
require("../assets/images/logo.png")
];
Loading

0 comments on commit 3fc140c

Please sign in to comment.