Add and apply Rails/DurationArithmetic rubocop rule
This rule was added in rubocop-rails 2.13.0. We were already applying it most of the time.
This commit is contained in:
@@ -236,6 +236,9 @@ Rails/CreateTableWithTimestamps:
|
||||
Rails/Date:
|
||||
Enabled: true
|
||||
|
||||
Rails/DurationArithmetic:
|
||||
Enabled: true
|
||||
|
||||
Rails/DynamicFindBy:
|
||||
Enabled: true
|
||||
Whitelist:
|
||||
|
||||
Reference in New Issue
Block a user