Add brace-style lint rule and fix violations

Enforce 1tbs brace style with allowSingleLine per #5900.
Auto-fix else/catch brace placement across the codebase and
move a comment in font.ts that blocked else-if formatting.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-26 16:42:48 +00:00
co-authored by Daniel Imms
parent e749cb6125
commit 1c42ae9af4
10 changed files with 22 additions and 41 deletions
+1 -2
View File
@@ -521,8 +521,7 @@ function initAddons(term: Terminal): void {
} else if (name === 'webLinks') {
controlBar.setTabVisible('addon-web-links', true);
}
}
catch {
} catch {
addon.instance = undefined;
checkbox.checked = false;
checkbox.disabled = true;