Merge pull request #536 from omdsh-dev/feat/eslint

feat(lint): 引入 ESLint flat config 并接入 CI 与 Makefile
This commit is contained in:
Atlas Zeng
2026-09-03 20:18:10 +08:00
committed by GitHub
45 changed files with 1527 additions and 92 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ export function apply(ctx: Context): void {
// rides the same fetch, so one round trip covers both decisions).
const decision = await Promise.race([
loadBootDecision(api),
new Promise<null>(resolve => { const timer = window.setTimeout(() => resolve(null), 2000) }),
new Promise<null>(resolve => { window.setTimeout(() => resolve(null), 2000) }),
])
if (disposed) return
if (decision !== null) {