Skip to content

Commit

Permalink
Display failing rule name
Browse files Browse the repository at this point in the history
Otherwise how are we supposed to get more information about it?
  • Loading branch information
amarshall committed Aug 5, 2016
1 parent 4173994 commit 86c1e96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

require "rubocop/rake_task"
RuboCop::RakeTask.new
RuboCop::RakeTask.new do |t|
t.options = %w[--display-cop-names]
end

task :default => %w[spec rubocop]

0 comments on commit 86c1e96

Please sign in to comment.