class RuboCop::Cop::Lint::EmptyFile

Enforces that Ruby source files are not empty.

@example

# bad
# Empty file

# good
# File containing non commented source lines

@example AllowComments: true (default)

# good
# File consisting only of comments

@example AllowComments: false

# bad
# File consisting only of comments