lib/quality/tools/rubocop.rb in quality-29.0.0 vs lib/quality/tools/rubocop.rb in quality-30.0.0
- old
+ new
@@ -9,10 +9,15 @@
end
private
def rubocop_args
- "--require rubocop-rspec --format emacs #{ruby_files.join(' ')}"
+ [
+ '--force-exclusion',
+ '--require rubocop-rspec',
+ '--format emacs',
+ *ruby_files,
+ ].join(' ')
end
def quality_rubocop
ratchet_quality_cmd('rubocop',
gives_error_code_on_violations: true,