chore(root): migrate to biome

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-16 12:20:40 +02:00
parent 1f6e198336
commit 32e91959f6
383 changed files with 1943 additions and 3085 deletions

View File

@@ -1,5 +1,5 @@
export function parseSearchParams(
params: URLSearchParams
params: URLSearchParams,
): Record<string, string> | undefined {
const result: Record<string, string> = {};
for (const [key, value] of params.entries()) {
@@ -39,7 +39,7 @@ export function parsePath(path?: string): {
export function isSameDomain(
url1: string | undefined,
url2: string | undefined
url2: string | undefined,
) {
if (!url1 || !url2) {
return false;