From: Go MAEDA Date: Fri, 3 Mar 2023 02:00:30 +0000 (+0000) Subject: Update RuboCop to 1.47 (#36919). X-Git-Tag: 5.1.0~227 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=453e3b7c25a1397b4df37184b3f5664a772390f4;p=redmine.git Update RuboCop to 1.47 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22125 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 908b671a9..87f5277a7 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.46.0. +# using RuboCop version 1.47.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -328,16 +328,7 @@ Lint/Loop: Lint/MissingSuper: Exclude: - - 'app/models/query.rb' - - 'lib/redmine/diff_table.rb' - - 'lib/redmine/scm/adapters/bazaar_adapter.rb' - - 'lib/redmine/scm/adapters/cvs_adapter.rb' - - 'lib/redmine/scm/adapters/filesystem_adapter.rb' - - 'lib/redmine/syntax_highlighting.rb' - 'lib/redmine/twofa/base.rb' - - 'lib/redmine/unified_diff.rb' - - 'lib/redmine/views/builders/structure.rb' - - 'lib/redmine/wiki_formatting/html_parser.rb' Lint/MixedRegexpCaptureTypes: Exclude: diff --git a/Gemfile b/Gemfile index 94ab6c5de..04ab29334 100644 --- a/Gemfile +++ b/Gemfile @@ -103,7 +103,7 @@ group :test do gem "selenium-webdriver", "~> 3.142.7" gem 'webdrivers', '4.6.1', require: false # RuboCop - gem 'rubocop', '~> 1.46.0' + gem 'rubocop', '~> 1.47.0' gem 'rubocop-performance', '~> 1.16.0' gem 'rubocop-rails', '~> 2.17.2' end