mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Update RuboCop to 1.10.0 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20751 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f97b9f0fe6
commit
f8d96bb359
@ -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.9.1.
|
# using RuboCop version 1.10.0.
|
||||||
# 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
|
||||||
@ -1197,6 +1197,7 @@ Style/EmptyElse:
|
|||||||
Style/EmptyMethod:
|
Style/EmptyMethod:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
# Cop supports --auto-correct.
|
||||||
Style/EvalWithLocation:
|
Style/EvalWithLocation:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/attachments_helper.rb'
|
- 'app/helpers/attachments_helper.rb'
|
||||||
@ -1245,6 +1246,11 @@ Style/HashAsLastArrayItem:
|
|||||||
- 'app/controllers/enumerations_controller.rb'
|
- 'app/controllers/enumerations_controller.rb'
|
||||||
- 'app/models/board.rb'
|
- 'app/models/board.rb'
|
||||||
|
|
||||||
|
# Cop supports --auto-correct.
|
||||||
|
Style/HashConversion:
|
||||||
|
Exclude:
|
||||||
|
- 'lib/redmine/scm/adapters/mercurial_adapter.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Style/HashEachMethods:
|
Style/HashEachMethods:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@ -93,7 +93,7 @@ group :test do
|
|||||||
gem "selenium-webdriver"
|
gem "selenium-webdriver"
|
||||||
gem 'webdrivers', '~> 4.4', require: false
|
gem 'webdrivers', '~> 4.4', require: false
|
||||||
# RuboCop
|
# RuboCop
|
||||||
gem 'rubocop', '~> 1.9.1'
|
gem 'rubocop', '~> 1.10.0'
|
||||||
gem 'rubocop-performance', '~> 1.9.0'
|
gem 'rubocop-performance', '~> 1.9.0'
|
||||||
gem 'rubocop-rails', '~> 2.9.0'
|
gem 'rubocop-rails', '~> 2.9.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user