feat: add prettier and eslint with pre-commit hook

This commit is contained in:
2026-05-10 19:23:53 +02:00
parent be9fbe0f64
commit 3703bbfcfe
33 changed files with 1643 additions and 1245 deletions

View File

@@ -1,10 +1,10 @@
export const parseClassList = (value: string | null): string[] => {
if (!value) {
return []
return [];
}
return value
.split(' ')
.map((entry: string): string => entry.trim())
.filter((entry: string): boolean => entry.length > 0)
}
.filter((entry: string): boolean => entry.length > 0);
};