Closed this issue 7 years ago · 2 comments
Specs often require blocks longer than the linter likes. I've been using # rubocop:disable BlockLength at the top of my spec files, but if there's a way to disable that rule for just spec files, that would be awesome.
# rubocop:disable BlockLength
These rules can be set in .rubocop.yml.
.rubocop.yml
This was addressed in c4d6a8a.