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

Update RuboCop to 1.16 (#35136).

git-svn-id: http://svn.redmine.org/redmine/trunk@21026 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-06-06 03:39:54 +00:00
parent 5515295ee2
commit 29f86644fe
2 changed files with 11 additions and 2 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.15.0.
# using RuboCop version 1.16.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
@ -1271,6 +1271,7 @@ Style/HashAsLastArrayItem:
- 'app/models/board.rb'
# Cop supports --auto-correct.
# Configuration parameters: AllowedReceivers.
Style/HashEachMethods:
Exclude:
- 'app/controllers/application_controller.rb'
@ -1534,6 +1535,14 @@ Style/Proc:
- 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
- 'test/unit/lib/redmine/menu_manager/menu_item_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: same_as_string_literals, single_quotes, double_quotes
Style/QuotedSymbols:
Exclude:
- 'test/functional/timelog_controller_test.rb'
- 'test/unit/lib/redmine/i18n_test.rb'
# Cop supports --auto-correct.
# Configuration parameters: Methods.
Style/RedundantArgument:

View File

@ -92,7 +92,7 @@ group :test do
gem "selenium-webdriver"
gem 'webdrivers', '~> 4.4', require: false
# RuboCop
gem 'rubocop', '~> 1.15.0'
gem 'rubocop', '~> 1.16.0'
gem 'rubocop-performance', '~> 1.11.0'
gem 'rubocop-rails', '~> 2.10.1'
end