1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-18 15:08:12 +00:00

Update RuboCop to 1.73 (#41884).

git-svn-id: https://svn.redmine.org/redmine/trunk@23628 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-04-11 09:39:39 +00:00
parent 08ea4e0323
commit 5f49539633
3 changed files with 6 additions and 3 deletions

View File

@ -270,6 +270,9 @@ Style/PerlBackrefs:
Style/RaiseArgs: Style/RaiseArgs:
Enabled: false Enabled: false
Style/RedundantCondition:
Enabled: false
Style/RedundantConstantBase: Style/RedundantConstantBase:
Exclude: Exclude:
- 'config/environments/production.rb' - 'config/environments/production.rb'

View File

@ -1,6 +1,6 @@
# This configuration was generated by # This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp` # `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.72.2. # using RuboCop version 1.73.2.
# The point is for the user to remove these configuration records # The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base. # one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new # Note that changes in the inspected code, or installation of new
@ -310,7 +310,7 @@ Naming/RescuedExceptionsVariableName:
- 'lib/redmine/scm/adapters/abstract_adapter.rb' - 'lib/redmine/scm/adapters/abstract_adapter.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb'
# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns, ForbiddenIdentifiers, ForbiddenPatterns.
# SupportedStyles: snake_case, camelCase # SupportedStyles: snake_case, camelCase
Naming/VariableName: Naming/VariableName:
Exclude: Exclude:

View File

@ -111,7 +111,7 @@ group :test do
gem "capybara", ">= 3.39" gem "capybara", ">= 3.39"
gem 'selenium-webdriver', '>= 4.11.0' gem 'selenium-webdriver', '>= 4.11.0'
# RuboCop # RuboCop
gem 'rubocop', '~> 1.72.2', require: false gem 'rubocop', '~> 1.73.2', require: false
gem 'rubocop-performance', '~> 1.23.0', require: false gem 'rubocop-performance', '~> 1.23.0', require: false
gem 'rubocop-rails', '~> 2.29.0', require: false gem 'rubocop-rails', '~> 2.29.0', require: false
gem 'bundle-audit', require: false gem 'bundle-audit', require: false