接入 ESLint 与 Prettier 并加入 CI 静态门禁
前端验证 / verify (push) Failing after 15m2s

This commit is contained in:
cieanyau committed 2026-11-07 01:24:36 +08:00
1 parent 339df89fcf
commit 651c36367f
33 files changed
+1420 -40

No files matched your search

+1
View File
@@ -270,6 +270,7 @@ function d(e) {
if (
typeof e != `string` ||
!/^https?:\/\//i.test(e) ||
// eslint-disable-next-line no-control-regex -- 安全边界:拒绝菜单 URL 内的控制字符。
/[\u0000-\u0020\\]/.test(e)
)
return ``;