From 15305fe4186bbe2fa2acad2bdcd20cf88bba2690 Mon Sep 17 00:00:00 2001 From: zurdi Date: Mon, 16 Jun 2025 09:27:25 +0000 Subject: [PATCH] fix: add eslint ignore comment for asciiOnly regex function --- frontend/src/stores/users.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/stores/users.ts b/frontend/src/stores/users.ts index a6d8ec56b..5bc3fe6a2 100644 --- a/frontend/src/stores/users.ts +++ b/frontend/src/stores/users.ts @@ -5,6 +5,7 @@ import i18n from "@/locales"; export type User = UserSchema; const asciiOnly = (v: string) => + /* trunk-ignore(eslint/no-control-regex) */ /^[\u0000-\u007F]*$/.test(v) || i18n.global.t("common.ascii-only"); export default defineStore("users", {