mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Update RuboCop to 1.63 (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22780 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a448b1e68e
commit
3f7650f4c0
@ -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.60.2.
|
||||
# using RuboCop version 1.63.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
|
||||
@ -358,21 +358,22 @@ Lint/SuppressedException:
|
||||
- 'lib/redmine/scm/adapters/subversion_adapter.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
# Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||||
Lint/UnusedBlockArgument:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
||||
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
||||
Lint/UnusedMethodArgument:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: AutoCorrect.
|
||||
Lint/UselessAssignment:
|
||||
Enabled: false
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
||||
# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
|
||||
Lint/Void:
|
||||
Exclude:
|
||||
- 'app/models/query.rb'
|
||||
@ -1021,14 +1022,14 @@ Style/EmptyCaseCondition:
|
||||
- 'app/models/issue_priority.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle, AllowComments.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle, AllowComments.
|
||||
# SupportedStyles: empty, nil, both
|
||||
Style/EmptyElse:
|
||||
Exclude:
|
||||
- 'app/models/mail_handler.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# Configuration parameters: AutoCorrect, EnforcedStyle.
|
||||
# SupportedStyles: compact, expanded
|
||||
Style/EmptyMethod:
|
||||
Enabled: false
|
||||
|
||||
2
Gemfile
2
Gemfile
@ -106,7 +106,7 @@ group :test do
|
||||
gem "capybara", ">= 3.39"
|
||||
gem 'selenium-webdriver', '>= 4.11.0'
|
||||
# RuboCop
|
||||
gem 'rubocop', '~> 1.60.0', require: false
|
||||
gem 'rubocop', '~> 1.63.0', require: false
|
||||
gem 'rubocop-performance', '~> 1.21.0', require: false
|
||||
gem 'rubocop-rails', '~> 2.24.0', require: false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user