Skip to content

Commit ebd148b

Browse files
committed
chore(format): run fmt
Signed-off-by: rajput-hemant <[email protected]>
1 parent f8670e6 commit ebd148b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"deploy:vc": "vc",
1010
"dev:cf": "wrangler dev src/index.ts",
1111
"deploy:cf": "wrangler deploy --minify src/index.ts",
12-
"typecheck": "tsc --noEmit",
12+
"type-check": "tsc --noEmit",
1313
"lint": "eslint src --ext ts,json --report-unused-disable-directives --max-warnings 0",
1414
"fmt": "prettier --write \"**/*.{ts,json}\" --cache",
1515
"fmt:check": "prettier --check \"**/*.{ts,json}\" --cache",

src/payloads/get.payload.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ export function trendingPayload(
4141
mini
4242
? miniPayload(i)
4343
: i.type === "song"
44-
? songPayload(i)
45-
: i.type === "album"
46-
? albumPayload(i)
47-
: playlistPayload(i)
44+
? songPayload(i)
45+
: i.type === "album"
46+
? albumPayload(i)
47+
: playlistPayload(i)
4848
);
4949
}
5050

@@ -174,8 +174,8 @@ export function topAlbumsPayload(
174174
mini
175175
? miniPayload(a)
176176
: a.type === "song"
177-
? songPayload(a)
178-
: albumPayload(a)
177+
? songPayload(a)
178+
: albumPayload(a)
179179
),
180180
};
181181
}

src/payloads/modules.payload.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ export function modulesPayload(
9898
mini
9999
? miniPayload(a)
100100
: a.type === "song"
101-
? songPayload(a)
102-
: albumPayload(a)
101+
? songPayload(a)
102+
: albumPayload(a)
103103
),
104104
},
105105

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"strict": true,
1515
"noUnusedLocals": true,
1616
"noUnusedParameters": true,
17-
"noFallthroughCasesInSwitch": true
17+
"noFallthroughCasesInSwitch": true,
1818

1919
/* path aliases */
2020
// "baseUrl": "./",
2121
// "paths": {
2222
// "@/*": ["src/*"]
2323
// }
2424
},
25-
"include": ["_api", "src", "test", ".env"]
25+
"include": ["_api", "src", "test", ".env"],
2626
}

0 commit comments

Comments
 (0)