no-empty-source
禁止空源。
¥Disallow empty sources.
仅包含空格(例如空格、制表符或换行符)的源被视为空。
¥A source containing only whitespace, e.g., spaces, tabs, or newlines, is considered empty.
选项
¥Options
true
{
"no-empty-source": true
}
以下模式不被视为问题:
¥The following patterns are not considered problems:
a {}
/* Only comments */