tasks/rubocop.rake in nanoc-3.7.3 vs tasks/rubocop.rake in nanoc-3.7.4
- old
+ new
@@ -1,8 +1,9 @@
begin
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
+ task.options = %w( --display-cop-names --format simple )
task.patterns = ['lib/**/*.rb']
end
rescue LoadError
warn "Could not load RuboCop. RuboCop rake tasks will be unavailable."
end