mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
Update RuboCop to 1.31 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21697 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -94,6 +94,9 @@ Lint/StructNewOverride:
|
|||||||
Lint/SuppressedException:
|
Lint/SuppressedException:
|
||||||
AllowComments: true
|
AllowComments: true
|
||||||
|
|
||||||
|
Layout/LineContinuationLeadingSpace:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Layout/TrailingWhitespace:
|
Layout/TrailingWhitespace:
|
||||||
AllowInHeredoc: true
|
AllowInHeredoc: true
|
||||||
|
|
||||||
|
|||||||
@@ -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.30.1.
|
# using RuboCop version 1.31.1.
|
||||||
# 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
|
||||||
@@ -808,7 +808,7 @@ Rails/InverseOf:
|
|||||||
- 'app/models/wiki_page.rb'
|
- 'app/models/wiki_page.rb'
|
||||||
|
|
||||||
# Configuration parameters: Include.
|
# Configuration parameters: Include.
|
||||||
# Include: app/controllers/**/*.rb
|
# Include: app/controllers/**/*.rb, app/mailers/**/*.rb
|
||||||
Rails/LexicallyScopedActionFilter:
|
Rails/LexicallyScopedActionFilter:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/controllers/projects_controller.rb'
|
- 'app/controllers/projects_controller.rb'
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@@ -100,7 +100,7 @@ group :test do
|
|||||||
gem "selenium-webdriver", "~> 3.142.7"
|
gem "selenium-webdriver", "~> 3.142.7"
|
||||||
gem 'webdrivers', '4.6.1', require: false
|
gem 'webdrivers', '4.6.1', require: false
|
||||||
# RuboCop
|
# RuboCop
|
||||||
gem 'rubocop', '~> 1.30.1'
|
gem 'rubocop', '~> 1.31.1'
|
||||||
gem 'rubocop-performance', '~> 1.14.2'
|
gem 'rubocop-performance', '~> 1.14.2'
|
||||||
gem 'rubocop-rails', '~> 2.15.0'
|
gem 'rubocop-rails', '~> 2.15.0'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user