diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 02ca6b882..ac08af08a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -531,6 +531,11 @@ Performance/RedundantMatch: - 'lib/redmine/wiki_formatting/textile/formatter.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' +# Cop supports --auto-correct. +Performance/RedundantSplitRegexpArgument: + Exclude: + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' + # Cop supports --auto-correct. # Configuration parameters: AutoCorrect. Performance/StringInclude: diff --git a/Gemfile b/Gemfile index e84ad0ebb..031fc9bdc 100644 --- a/Gemfile +++ b/Gemfile @@ -94,7 +94,7 @@ group :test do gem 'webdrivers', '~> 4.4', require: false # RuboCop gem 'rubocop', '~> 1.11.0' - gem 'rubocop-performance', '~> 1.9.0' + gem 'rubocop-performance', '~> 1.10.1' gem 'rubocop-rails', '~> 2.9.0' end