no-empty
Configuration
rslint.config.ts
Rule Details
Disallow empty block statements. Empty block statements, while not technically errors, usually occur due to refactoring that wasn't completed. They can cause confusion when reading code.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Options
allowEmptyCatch: Iftrue, allows emptycatchclauses (i.e., which do not contain a comment). Default:false.