Enable Rubocop Rails/FilePath (#23854)
This commit is contained in:
parent
c97b611b6b
commit
1fe04f740a
6 changed files with 10 additions and 72 deletions
|
@ -161,6 +161,11 @@ Metrics/MethodLength:
|
|||
Metrics/ModuleLength:
|
||||
CountAsOne: [array, heredoc]
|
||||
|
||||
# Reason: Prevailing style is argument file paths
|
||||
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsfilepath
|
||||
Rails/FilePath:
|
||||
EnforcedStyle: arguments
|
||||
|
||||
# Reason: Prevailing style uses numeric status codes, matches RSpec/Rails/HttpStatus
|
||||
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railshttpstatus
|
||||
Rails/HttpStatus:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue