🎨 style(vscode): eslint 自动修复格式与排序

Claude-Session: https://claude.ai/code/session_01HTMgwaE3woqM5yvsHiuSAa
This commit is contained in:
cruldra committed 2026-08-31 22:30:42 +08:00
1 parent df35bcfd49
commit 8c22a29ce5
41 files changed
+248 -167

No files matched your search

-4
View File
@@ -35,7 +35,6 @@ export async function watchForNewSession(opts: {
snapshot = new Set(existing.filter(n => n.endsWith('.jsonl')))
}
catch (err) {
// eslint-disable-next-line no-console
console.warn('[superpowers] sessionWatcher: readdir failed', err)
return null
}
@@ -89,13 +88,11 @@ export async function watchForNewSession(opts: {
})
})
watcher.on('error', (err) => {
// eslint-disable-next-line no-console
console.warn('[superpowers] sessionWatcher: watch error', err)
done(null)
})
}
catch (err) {
// eslint-disable-next-line no-console
console.warn('[superpowers] sessionWatcher: fs.watch threw', err)
done(null)
return
@@ -131,7 +128,6 @@ export async function pollForNewSession(opts: {
snapshot = new Set(existing.filter(n => n.endsWith('.jsonl')))
}
catch (err) {
// eslint-disable-next-line no-console
console.warn('[superpowers] sessionWatcher: poll readdir failed', err)
return null
}