summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-04-10 07:34:52 +0000
committerGo MAEDA <maeda@farend.jp>2022-04-10 07:34:52 +0000
commitcd102e751889c13ce7b54de94888547d3eb8a177 (patch)
treec483d363d972ef6ee185ec41e862a153c02de195
parent1eab4a19bb1fcc27ee68c2b50c4861353409c156 (diff)
downloadredmine-cd102e751889c13ce7b54de94888547d3eb8a177.tar.gz
redmine-cd102e751889c13ce7b54de94888547d3eb8a177.zip
Update RuboCop to 1.27 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21527 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml5
-rw-r--r--Gemfile2
2 files changed, 3 insertions, 4 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 12e2fe5f3..9b7058710 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.26.0.
+# using RuboCop version 1.27.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
@@ -1188,7 +1188,6 @@ Style/DoubleNegation:
- 'app/models/mailer.rb'
- 'app/models/query.rb'
- 'app/models/user.rb'
- - 'lib/redmine/sudo_mode.rb'
# This cop supports safe auto-correction (--auto-correct).
Style/EachWithObject:
@@ -1691,7 +1690,7 @@ Style/RescueStandardError:
Enabled: false
# This cop supports safe auto-correction (--auto-correct).
-# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods.
+# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
Enabled: false
diff --git a/Gemfile b/Gemfile
index c6848898f..c9d9af50c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -100,7 +100,7 @@ group :test do
gem "selenium-webdriver", "~> 3.142.7"
gem 'webdrivers', '4.6.1', require: false
# RuboCop
- gem 'rubocop', '~> 1.26.0'
+ gem 'rubocop', '~> 1.27.0'
gem 'rubocop-performance', '~> 1.13.0'
gem 'rubocop-rails', '~> 2.14.0'
end