Rule: no-empty
Disallows empty blocks.
Blocks with a comment inside are not considered empty.
Rationale
Empty blocks are often indicators of missing code.
Config
Not configurable.
Examples
"no-empty": true
Schema
null
Disallows empty blocks.
Blocks with a comment inside are not considered empty.
Empty blocks are often indicators of missing code.
Not configurable.
"no-empty": true
null