mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
fix: add eslint ignore comment for asciiOnly regex function
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user