mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 19:47:14 +00:00
Update RuboCop to 1.52 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22254 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fa9b911f0a
commit
828439338f
@ -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.51.0.
|
||||
# using RuboCop version 1.52.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
|
||||
@ -981,6 +981,7 @@ Style/ClassVars:
|
||||
- 'test/helpers/activities_helper_test.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: AllowedReceivers.
|
||||
Style/CollectionCompact:
|
||||
Exclude:
|
||||
- 'app/controllers/issues_controller.rb'
|
||||
@ -1254,7 +1255,7 @@ Style/MultilineTernaryOperator:
|
||||
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: AllowMethodComparison.
|
||||
# Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
|
||||
Style/MultipleComparison:
|
||||
Exclude:
|
||||
- 'app/helpers/application_helper.rb'
|
||||
|
||||
2
Gemfile
2
Gemfile
@ -103,7 +103,7 @@ group :test do
|
||||
gem "selenium-webdriver", "~> 3.142.7"
|
||||
gem 'webdrivers', '4.6.1', require: false
|
||||
# RuboCop
|
||||
gem 'rubocop', '~> 1.51.0', require: false
|
||||
gem 'rubocop', '~> 1.52.0', require: false
|
||||
gem 'rubocop-performance', '~> 1.18.0', require: false
|
||||
gem 'rubocop-rails', '~> 2.19.1', require: false
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user