mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Update Rubocop Rails to 2.31 (#42044).
git-svn-id: https://svn.redmine.org/redmine/trunk@23640 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -17,13 +17,9 @@ AllCops:
|
||||
- '**/files/**/*'
|
||||
- 'db/schema.rb'
|
||||
|
||||
# Enable extensions
|
||||
|
||||
require:
|
||||
- rubocop-rails
|
||||
|
||||
plugins:
|
||||
- rubocop-performance
|
||||
- rubocop-rails
|
||||
|
||||
# Rules for Redmine
|
||||
|
||||
|
||||
@@ -565,12 +565,6 @@ Rails/RedundantTravelBack:
|
||||
- 'test/integration/sudo_mode_test.rb'
|
||||
- 'test/system/sudo_mode_test.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
Rails/ReflectionClassName:
|
||||
Exclude:
|
||||
- 'lib/redmine/nested_set/issue_nested_set.rb'
|
||||
- 'lib/redmine/nested_set/project_nested_set.rb'
|
||||
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle, Include.
|
||||
# SupportedStyles: assert_not, refute
|
||||
|
||||
Reference in New Issue
Block a user