Closed edvakf closed 6 years ago
Oops, I'll fix this soon.
rescue => error
^^^^^^
lib/guard/rubocop/runner.rb:7:5: C: Class has too many lines. [104/103]
class Runner ...
^^^^^^^^^^^^
spec/guard/rubocop/runner_spec.rb:334:1: C: Use meaningful heredoc delimiters.
END
^^^^^^^^^
spec/guard/rubocop/runner_spec.rb:500:1: C: Use meaningful heredoc delimiters.
END
^^^^^^^^^^^
13 files inspected, 4 offenses detected
RuboCop failed!
Hmm, these are not related to my changes. What should we do?
I'm on the fence about this.
Using the --parallel
option by default means that we need to change the RuboCop dependency to ~> 0.49
. That's something considered a breaking change in SemVer. Since people tend to lock RuboCop version in their repository, I guess there're still many users using RuboCop 0.49-.
I see. Actually I have realized that this behavior can be achieved by passing --parallel
to the cli
parameter.
guard :rubocop, all_on_start: false, cli: ['--format', 'clang', '--rails', '--parallel'] do
I'm closing this issue. It may be helpful to write it on README.
The option was apparently introduced in RuboCop 0.49 in this May.