no-empty Disallow uncommented empty block statements An empty control-flow block and an accidentally unfinished block have the same source shape. Instead, you SHOULD remove the construct, implement its body, or explain the intentional empty body with a comment. - Category: style - Level: warning - Fix: none - Scope: module Reported declare function ready(): boolean; if (ready()) {} Accepted declare function ready(): boolean; if (ready()) { // no action is required while ready } Prior art - ESLint ยท no-empty language/linter/src/rules/style/noempty.rs:6