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:
Steffen van Bergerem 2017-03-05 16:15:39 +01:00 committed by Benjamin Neff
parent 13698bece5
commit e82005c517
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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