Rakefile in optics_view_components-0.1.1 vs Rakefile in optics_view_components-0.1.2
- old
+ new
@@ -5,8 +5,10 @@
RSpec::Core::RakeTask.new(:spec)
require 'rubocop/rake_task'
-RuboCop::RakeTask.new
+RuboCop::RakeTask.new(:rubocop) do |t|
+ t.options = ['--fail-level', 'warning', '--display-only-fail-level-offenses']
+end
task default: %i[spec rubocop]