1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Update RuboCop to 1.27 (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21527 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-04-10 07:34:52 +00:00
parent 1eab4a19bb
commit cd102e7518
2 changed files with 3 additions and 4 deletions

View 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.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

View File

@ -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