style: apply prettier formatting

This commit is contained in:
printcalc-ci
2026-03-20 09:37:56 +00:00
parent e575021f53
commit 23e1abdbbb
15 changed files with 84 additions and 59 deletions

View File

@@ -99,5 +99,7 @@ function splitSegments(pathname: string): string[] {
}
function looksLikeLangToken(segment: string | null | undefined): boolean {
return typeof segment === 'string' && /^[a-z]{2}(?:-[a-z]{2})?$/i.test(segment);
return (
typeof segment === 'string' && /^[a-z]{2}(?:-[a-z]{2})?$/i.test(segment)
);
}