gitlab-org--gitlab-foss/lib/tasks/rubocop.rake
Robert Speicher 43d9e06b68 Add rubocop-rspec
Almost all cops are starting as disabled until we can fix their
violations.
2016-05-23 15:59:32 -04:00

5 lines
88 B
Ruby

unless Rails.env.production?
require 'rubocop/rake_task'
RuboCop::RakeTask.new
end