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

@@ -3,7 +3,7 @@ import superjson from 'superjson';
export function toDots(
obj: Record<string, unknown>,
path = ''
path = '',
): Record<string, string> {
return Object.entries(obj).reduce((acc, [key, value]) => {
if (typeof value === 'object' && value !== null) {
@@ -26,7 +26,7 @@ export function toDots(
}
export function toObject(
obj: Record<string, string | undefined>
obj: Record<string, string | undefined>,
): Record<string, unknown> {
let result: Record<string, unknown> = {};
Object.entries(obj).forEach(([key, value]) => {