1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Update RuboCop to 1.76 (#41884).

git-svn-id: https://svn.redmine.org/redmine/trunk@23825 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-06-08 02:23:01 +00:00
parent 40ab48325e
commit 76a53dafe8
3 changed files with 11 additions and 8 deletions

View File

@ -114,7 +114,10 @@ Naming/VariableNumber:
Naming/BinaryOperatorParameterName:
Enabled: false
Naming/PredicateName:
Naming/PredicateMethod:
Enabled: false
Naming/PredicatePrefix:
Enabled: false
Performance/CollectionLiteralInLoop:
@ -214,6 +217,9 @@ Style/BlockDelimiters:
- 'lib/redmine/string_array_diff/diff.rb'
- 'lib/redmine/string_array_diff/diffable.rb'
Style/EmptyStringInsideInterpolation:
Enabled: false
Style/FetchEnvVar:
Enabled: false

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.75.2.
# using RuboCop version 1.76.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
@ -220,9 +220,6 @@ Lint/ParenthesesAsGroupedExpression:
- 'test/unit/attachment_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
Lint/ShadowingOuterLocalVariable:
Enabled: false
# Configuration parameters: AllowComments, AllowNil.
Lint/SuppressedException:
Exclude:
@ -708,8 +705,8 @@ Style/CaseLikeIf:
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
# SupportedStyles: nested, compact
# SupportedStylesForClasses: , nested, compact
# SupportedStylesForModules: , nested, compact
# SupportedStylesForClasses: ~, nested, compact
# SupportedStylesForModules: ~, nested, compact
Style/ClassAndModuleChildren:
Enabled: false

View File

@ -111,7 +111,7 @@ group :test do
gem "capybara", ">= 3.39"
gem 'selenium-webdriver', '>= 4.11.0'
# RuboCop
gem 'rubocop', '~> 1.75.2', require: false
gem 'rubocop', '~> 1.76.0', require: false
gem 'rubocop-performance', '~> 1.25.0', require: false
gem 'rubocop-rails', '~> 2.31.0', require: false
gem 'bundle-audit', require: false