style: fix formatting via prettier

This commit is contained in:
2026-08-28 14:29:54 +05:00
parent 10278981ba
commit ada96b3534
124 changed files with 8211 additions and 5662 deletions
+8 -6
View File
@@ -1,17 +1,19 @@
import type { CategoryId } from '../categories';
import type { CategoryId } from "../categories";
export const LOCALES = ['ru', 'en'] as const;
export const LOCALES = ["ru", "en"] as const;
export type Locale = (typeof LOCALES)[number];
export const BASE_LOCALE: Locale = 'en';
export const BASE_LOCALE: Locale = "en";
export const LOCALE_TAGS: Record<Locale, string> = {
ru: 'ru-RU',
en: 'en-US'
ru: "ru-RU",
en: "en-US",
};
export function isLocale(value: unknown): value is Locale {
return typeof value === 'string' && (LOCALES as readonly string[]).includes(value);
return (
typeof value === "string" && (LOCALES as readonly string[]).includes(value)
);
}
export type ToolStrings = {