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

Update RuboCop to 1.33 (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21759 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-08-05 01:33:14 +00:00
parent 59b6f8117d
commit ca89202a2e
2 changed files with 9 additions and 9 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.32.0.
# using RuboCop version 1.33.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
@ -266,7 +266,7 @@ Layout/SpaceInsideStringInterpolation:
- 'lib/redmine/core_ext/string/inflections.rb'
- 'test/integration/admin_test.rb'
# Configuration parameters: IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Lint/AmbiguousBlockAssociation:
Enabled: false
@ -1090,8 +1090,8 @@ Style/ClassAndModuleChildren:
Enabled: false
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: ==, equal?, eql?
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
# AllowedMethods: ==, equal?, eql?
Style/ClassEqualityComparison:
Exclude:
- 'app/models/principal.rb'
@ -1348,7 +1348,7 @@ Style/LineEndConcatenation:
Enabled: false
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IgnoredMethods.
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
@ -1460,7 +1460,7 @@ Style/NumericLiterals:
MinDigits: 9
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, IgnoredMethods.
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Enabled: false
@ -1795,8 +1795,8 @@ Style/SymbolArray:
EnforcedStyle: brackets
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods, AllowComments.
# IgnoredMethods: respond_to, define_method
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowComments.
# AllowedMethods: respond_to, define_method
Style/SymbolProc:
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.32.0'
gem 'rubocop', '~> 1.33.0'
gem 'rubocop-performance', '~> 1.14.2'
gem 'rubocop-rails', '~> 2.15.0'
end