]> source.dussan.org Git - redmine.git/commitdiff
Update RuboCop to 1.47 (#36919).
authorGo MAEDA <maeda@farend.jp>
Fri, 3 Mar 2023 02:00:30 +0000 (02:00 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 3 Mar 2023 02:00:30 +0000 (02:00 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22125 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
Gemfile

index 908b671a972c285e088019d775f4adc723881458..87f5277a76e3875fa10a711232b712ec459eac09 100644 (file)
@@ -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 94ab6c5de147d20e6030004ac2143a0d0ee0cc75..04ab29334ba23e365837dda8b42ef434dbde57b1 100644 (file)
--- 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