Meaningless files clutter a codebase. Disallow any file containing absolutely nothing, only whitespace, only comments, only a 'use strict';
statement, or empty statements.
This rule is not fixable.
\n
\r
\r\n
// comment
/* comment */
'use strict';
;
{}
const x = 0;
'use strict';
const x = 0;
;; const x = 0;
{
;
'use strict';
const x = 0;
}