Disable Rails/HttpPositionalArguments cop
See http://rubocop.readthedocs.io/en/latest/cops_rails/#railshttppositionalarguments. It only applies to Rails >= 5 closes #7353
This commit is contained in:
parent
13698bece5
commit
e82005c517
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ AllCops:
|
|||
Rails:
|
||||
Enabled: true
|
||||
|
||||
# Disable for rails 4
|
||||
Rails/HttpPositionalArguments:
|
||||
Enabled: false
|
||||
|
||||
# Commonly used screens these days easily fit more than 80 characters.
|
||||
Metrics/LineLength:
|
||||
Max: 120
|
||||
|
|
|
|||
Loading…
Reference in a new issue