Commit f20bc457 authored by Doug Stull's avatar Doug Stull

Merge branch 'pl-rubocop-no-offense-count' into 'master'

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

See merge request gitlab-org/gitlab!71989
parents 9f56f1fb aea5a399
......@@ -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