mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00: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:
parent
92b7df7d4e
commit
2f443f840c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user