跳到主要内容

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 */