diff options
author | Go MAEDA <maeda@farend.jp> | 2021-02-07 06:01:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-02-07 06:01:47 +0000 |
commit | 8bdea4c1cb70a96ea1df8f43e83f0aa0d2b4c577 (patch) | |
tree | 9947e89c2cdd7971ef5596f6ede0d097c4482d7b | |
parent | cbac878ee441b7fd0af891b7c0e310cce6938c4b (diff) | |
download | redmine-8bdea4c1cb70a96ea1df8f43e83f0aa0d2b4c577.tar.gz redmine-8bdea4c1cb70a96ea1df8f43e83f0aa0d2b4c577.zip |
Update RuboCop to 1.9.1 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20739 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | .rubocop_todo.yml | 13 | ||||
-rw-r--r-- | Gemfile | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6d6d02f5b..654fa16b6 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.8.1. +# using RuboCop version 1.9.1. # 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 @@ -1285,6 +1285,17 @@ Style/IfUnlessModifierOfIfUnless: - 'app/models/attachment.rb' # Cop supports --auto-correct. +# Configuration parameters: AllowedMethods. +# AllowedMethods: nonzero? +Style/IfWithBooleanLiteralBranches: + Exclude: + - 'app/controllers/workflows_controller.rb' + - 'app/helpers/application_helper.rb' + - 'app/models/enumeration.rb' + - 'app/models/query.rb' + - 'lib/redmine/field_format.rb' + +# Cop supports --auto-correct. # Configuration parameters: InverseMethods, InverseBlocks. Style/InverseMethods: Exclude: @@ -92,7 +92,7 @@ group :test do gem 'capybara', '~> 3.31.0' gem "selenium-webdriver" # RuboCop - gem 'rubocop', '~> 1.8.1' + gem 'rubocop', '~> 1.9.1' gem 'rubocop-performance', '~> 1.9.0' gem 'rubocop-rails', '~> 2.9.0' end |