Commit aea5a399 authored by Peter Leitzen's avatar Peter Leitzen

RuboCop: Skip "Offense count" when generating `.rubocop_todo.yml`

The list of excluded files is a good indicator about the amount of todos
and we are not using this count anyway. Let's avoid some churn then.
parent f0eac783
......@@ -8,13 +8,14 @@ unless Rails.env.production?
namespace :rubocop do
namespace :todo do
desc 'Generate RuboCop todos'
task :generate do
task :generate do # rubocop:disable Rails/RakeEnvironment
require 'rubocop'
options = %w[
--auto-gen-config
--auto-gen-only-exclude
--exclude-limit=100000
--no-offense-counts
]
RuboCop::CLI.new.run(options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment