Skip to content

Commit

Permalink
Remove unnecessary extend AutoCorrector for Lint/EmptyFile
Browse files Browse the repository at this point in the history
Follow #8532.

`Lint/EmptyFile` cop does not support auto-correction.
This PR removes unnecessary `extend AutoCorrector` for `Lint/EmptyFile`.
  • Loading branch information
koic authored and mergify[bot] committed Aug 14, 2020
1 parent e20b8ce commit 2bff941
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_lint.adoc
Expand Up @@ -1116,7 +1116,7 @@ end

| Pending
| Yes
| Yes
| No
| 0.90
| -
|===
Expand Down
1 change: 0 additions & 1 deletion lib/rubocop/cop/lint/empty_file.rb
Expand Up @@ -22,7 +22,6 @@ module Lint
#
class EmptyFile < Base
include RangeHelp
extend AutoCorrector

MSG = 'Empty file detected.'

Expand Down

0 comments on commit 2bff941

Please sign in to comment.