mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 04:50:26 +01:00
Set TargetRailsVersion of RuboCop to 8.0 (#43205).
git-svn-id: https://svn.redmine.org/redmine/trunk@24128 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -2,7 +2,7 @@ inherit_from: .rubocop_todo.yml
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: 3.2
|
||||
TargetRailsVersion: 7.2
|
||||
TargetRailsVersion: 8.0
|
||||
|
||||
NewCops: enable
|
||||
|
||||
|
||||
@@ -554,6 +554,15 @@ Rails/ShortI18n:
|
||||
- 'test/unit/version_test.rb'
|
||||
- 'test/unit/wiki_page_test.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
Rails/StrongParametersExpect:
|
||||
Exclude:
|
||||
- 'app/controllers/attachments_controller.rb'
|
||||
- 'app/controllers/custom_field_enumerations_controller.rb'
|
||||
- 'app/controllers/principal_memberships_controller.rb'
|
||||
- 'app/controllers/project_enumerations_controller.rb'
|
||||
- 'app/controllers/webhooks_controller.rb'
|
||||
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: strict, flexible
|
||||
|
||||
Reference in New Issue
Block a user