mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 08:02:12 +00:00
style: apply prettier across the tree
One-shot prettier pass so the new format:check gate starts from a clean baseline. Formatting only — no behaviour change. Generator-owned and vendored artifacts stay untouched via .prettierignore.
This commit is contained in:
1 parent
b3fea2ef59
commit
1f4ba5939d
1000 files changed
+12130
-8385
No files matched your search
@@ -36,12 +36,7 @@ const takenAtField = validateEntryInstant(
|
||||
);
|
||||
|
||||
/** Trimmed, bounded free-text field with a min-length guard. */
|
||||
const requiredText = (max: number) =>
|
||||
z
|
||||
.string()
|
||||
.trim()
|
||||
.min(1)
|
||||
.max(max);
|
||||
const requiredText = (max: number) => z.string().trim().min(1).max(max);
|
||||
|
||||
const optionalPanel = z
|
||||
.string()
|
||||
@@ -160,7 +155,9 @@ export function isInvertedRange(
|
||||
effectiveHigh: number | null,
|
||||
): boolean {
|
||||
return (
|
||||
effectiveLow !== null && effectiveHigh !== null && effectiveLow > effectiveHigh
|
||||
effectiveLow !== null &&
|
||||
effectiveHigh !== null &&
|
||||
effectiveLow > effectiveHigh
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user