no-empty-source
Disallow empty sources.
Use this rule to avoid leftovers from edits. An empty source does nothing.
A source containing only whitespace, e.g., spaces, tabs, or newlines, is considered empty.
This rule doesn’t have any message arguments.
Options
Section titled “Options”{ "no-empty-source": true}The following patterns are not considered problems:
a {}/* Only comments */