feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)

This commit is contained in:
Kit Langton 2026-04-15 23:27:32 -04:00 committed by GitHub
commit 80f1f1b5b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
103 changed files with 212 additions and 187 deletions

View file

@ -44,7 +44,7 @@ export function SortableTerminalTab(props: { terminal: LocalPTY; onClose?: () =>
const close = () => {
const count = terminal.all().length
terminal.close(props.terminal.id)
void terminal.close(props.terminal.id)
if (count === 1) {
props.onClose?.()
}