chore: strengthen backend eslint profile

This commit is contained in:
2026-09-28 16:37:01 +03:00
committed by ksv741
parent 53b2794963
commit a970eaaf7a
179 changed files with 4485 additions and 2716 deletions
@@ -39,8 +39,9 @@ export function dateParts(value: string): [number, number, number] {
number,
number,
];
if (utcDate(value).toISOString().slice(0, 10) !== value)
if (utcDate(value).toISOString().slice(0, 10) !== value) {
throw new Error('Invalid date');
}
return parts;
}