接入 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 -1
View File
@@ -465,7 +465,7 @@ function C(e, t = ``) {
if (!n || /[×*¥¥$€]|(?:^|[\s([{])[-+]\s*\d/.test(n)) return null;
let r = [...n.matchAll(/\d+(?:\.\d+)?\s*(?:[kmgtpe](?:i?b)?|b)(?![a-z])/gi)],
i = r[0],
a = ``;
a;
if (r.length === 1) a = S(/[a-z]+$/i.exec(i[0])?.[0] ?? ``);
else if (r.length === 0 && S(t)) {
let e = [...n.matchAll(/\d+(?:\.\d+)?/g)];