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

Update RuboCop to 1.59 (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22534 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2023-12-20 08:29:38 +00:00
parent f8ccceedde
commit 21a48d79f4
2 changed files with 4 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.57.2.
# using RuboCop version 1.59.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
@ -215,8 +215,9 @@ Layout/SpaceAfterNot:
- 'test/unit/user_test.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
# SupportedStylesForExponentOperator: space, no_space
# SupportedStylesForRationalLiterals: space, no_space
Layout/SpaceAroundOperators:
Enabled: false
@ -303,7 +304,6 @@ Lint/EmptyBlock:
Lint/FloatComparison:
Exclude:
- 'app/models/time_entry.rb'
- 'test/system/timelog_test.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
@ -339,11 +339,6 @@ Lint/ParenthesesAsGroupedExpression:
- 'test/unit/attachment_test.rb'
- 'test/unit/lib/redmine/export/pdf_test.rb'
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
Exclude:
- 'app/models/project.rb'
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantStringCoercion:
Exclude:

View File

@ -111,7 +111,7 @@ group :test do
gem "selenium-webdriver", ">= 4.11.0"
end
# RuboCop
gem 'rubocop', '~> 1.57.0', require: false
gem 'rubocop', '~> 1.59.0', require: false
gem 'rubocop-performance', '~> 1.19.0', require: false
gem 'rubocop-rails', '~> 2.22.1', require: false
end