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

If allow-empty-catch is specified, then catch blocks are allowed to be empty.

Examples
"no-empty": true
"no-empty": [true, "allow-empty-catch"]
Schema
{
  "type": "string",
  "enum": [
    "allow-empty-catch"
  ]
}