Skip to main content

no-empty-source

Disallow empty sources.

A source containing only whitespace, e.g., spaces, tabs, or newlines, is considered empty.

Options

true

The following patterns are not considered problems:

a {}
/* Only comments */