diff options
author | Go MAEDA <maeda@farend.jp> | 2022-04-10 07:34:52 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-04-10 07:34:52 +0000 |
commit | cd102e751889c13ce7b54de94888547d3eb8a177 (patch) | |
tree | c483d363d972ef6ee185ec41e862a153c02de195 | |
parent | 1eab4a19bb1fcc27ee68c2b50c4861353409c156 (diff) | |
download | redmine-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.yml | 5 | ||||
-rw-r--r-- | Gemfile | 2 |
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 @@ -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 |