no-lone-block Disallow nested blocks with no scoping effect A standalone block without scoped declarations adds nesting without changing the lifetime or visibility of any value. Instead, you SHOULD remove the redundant braces and keep its statements in the enclosing block. - Category: style - Level: warning - Fix: none - Scope: module Reported declare function work(): void; function run(): void { { work(); } } Accepted declare function work(): void; function run(): void { work(); } Prior art - ESLint ยท no-lone-blocks language/linter/src/rules/style/noloneblock.rs:6