Open BenGitsCode opened 7 years ago
spec/equine_spec.rb:1:1: W: Unnecessary disabling of Metrics/BlockLength.
Should be handled by the .rubocop.yml
, no?
I wasn't sure about that one.
Reading this https://github.com/bbatsov/rubocop/issues/3664#issuecomment-275860483, it sounds like it depends on which version. If we're planning to continue at 0.46.0 we should be to include something like this in the .rubocop.yml
Metrics/BlockLength:
Exclude:
- "**/*_spec.rb"
Yes. The disabling of Metrics/Blocklength in a comment should be removed, as it is now covered by .rubocop.yml
.
We may need to ignore some i.e.
spec/equine_spec.rb:1:1: W: Unnecessary disabling of Metrics/BlockLength.
but the frozen string literal comments should definitely be fixed.