1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Update RuboCop Rails to 2.14 (#35207).

git-svn-id: http://svn.redmine.org/redmine/trunk@21473 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-03-20 07:05:56 +00:00
parent defd80a9d4
commit 55edd02fe0
2 changed files with 9 additions and 1 deletions

View File

@ -670,6 +670,10 @@ Rails/Delegate:
- 'app/models/wiki_content_version.rb'
- 'lib/redmine/menu_manager.rb'
Rails/DuplicateScope:
Exclude:
- 'app/models/enumeration.rb'
# This cop supports unsafe auto-correction (--auto-correct-all).
# Configuration parameters: Whitelist, AllowedMethods, AllowedReceivers.
# Whitelist: find_by_sql
@ -775,6 +779,10 @@ Rails/I18nLocaleAssignment:
- 'test/unit/query_test.rb'
- 'test/unit/role_test.rb'
Rails/I18nLocaleTexts:
Exclude:
- 'app/models/mailer.rb'
# Configuration parameters: IgnoreScopes, Include.
# Include: app/models/**/*.rb
Rails/InverseOf:

View File

@ -102,7 +102,7 @@ group :test do
# RuboCop
gem 'rubocop', '~> 1.26.0'
gem 'rubocop-performance', '~> 1.13.0'
gem 'rubocop-rails', '~> 2.13.0'
gem 'rubocop-rails', '~> 2.14.0'
end
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")