Skip to content

Commit

Permalink
chore(format): run fmt
Browse files Browse the repository at this point in the history
Signed-off-by: rajput-hemant <[email protected]>
  • Loading branch information
rajput-hemant committed Jan 21, 2024
1 parent f8670e6 commit ebd148b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"deploy:vc": "vc",
"dev:cf": "wrangler dev src/index.ts",
"deploy:cf": "wrangler deploy --minify src/index.ts",
"typecheck": "tsc --noEmit",
"type-check": "tsc --noEmit",
"lint": "eslint src --ext ts,json --report-unused-disable-directives --max-warnings 0",
"fmt": "prettier --write \"**/*.{ts,json}\" --cache",
"fmt:check": "prettier --check \"**/*.{ts,json}\" --cache",
Expand Down
12 changes: 6 additions & 6 deletions src/payloads/get.payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ export function trendingPayload(
mini
? miniPayload(i)
: i.type === "song"
? songPayload(i)
: i.type === "album"
? albumPayload(i)
: playlistPayload(i)
? songPayload(i)
: i.type === "album"
? albumPayload(i)
: playlistPayload(i)
);
}

Expand Down Expand Up @@ -174,8 +174,8 @@ export function topAlbumsPayload(
mini
? miniPayload(a)
: a.type === "song"
? songPayload(a)
: albumPayload(a)
? songPayload(a)
: albumPayload(a)
),
};
}
Expand Down
4 changes: 2 additions & 2 deletions src/payloads/modules.payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export function modulesPayload(
mini
? miniPayload(a)
: a.type === "song"
? songPayload(a)
: albumPayload(a)
? songPayload(a)
: albumPayload(a)
),
},

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,

/* path aliases */
// "baseUrl": "./",
// "paths": {
// "@/*": ["src/*"]
// }
},
"include": ["_api", "src", "test", ".env"]
"include": ["_api", "src", "test", ".env"],
}

0 comments on commit ebd148b

Please sign in to comment.