chore(ci): eslint + prettier → biome (#325)

This commit is contained in:
Sam Potts
2026-01-23 11:33:04 +00:00
committed by GitHub
parent 93d8b95b2d
commit bf76dfa593
204 changed files with 1172 additions and 4443 deletions
@@ -18,6 +18,6 @@ export function composeCallbacks<T extends (...args: any[]) => void>(...fns: (T
if (defined.length === 1) return defined[0];
return ((...args: Parameters<T>) => {
defined.forEach(fn => fn(...args));
defined.forEach((fn) => fn(...args));
}) as T;
}
+1 -1
View File
@@ -9,7 +9,7 @@
*/
export function tryCatch<T extends (...args: any[]) => unknown>(
fn: T | undefined,
onError: (error: unknown) => void = console.error,
onError: (error: unknown) => void = console.error
): T | undefined {
if (!fn) return undefined;