Fix and re-enable EmptyLineAfterFinalLet and EmptyLineAfterSubject
Reviewers and especially maintainers shouldn't have to tell us about code formatting issues. EmptyLineAfterFinalLet
and EmptyLineAfterSubject
are disabled by rubocop todo because there are too many cases to exclude individually. This means all offences, in new and old files, are ignored. We should fix this so that we are automatically told that we need to add a blank line.
E.g. !16574 (comment 219952768)
.rubocop_todo.yml
:
# Offense count: 407
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
Enabled: false
# Offense count: 232
# Cop supports --auto-correct.
RSpec/EmptyLineAfterSubject:
Enabled: false
Edited by James Fargher