summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-03-03 02:00:30 +0000
committerGo MAEDA <maeda@farend.jp>2023-03-03 02:00:30 +0000
commit453e3b7c25a1397b4df37184b3f5664a772390f4 (patch)
tree3d9e36efd8feda5a088a5443422c3431ffb29cf7
parent555acea7804e6a93b133fe7398f490cb083c05b2 (diff)
downloadredmine-453e3b7c25a1397b4df37184b3f5664a772390f4.tar.gz
redmine-453e3b7c25a1397b4df37184b3f5664a772390f4.zip
Update RuboCop to 1.47 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22125 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml11
-rw-r--r--Gemfile2
2 files changed, 2 insertions, 11 deletions
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