Add and apply Performance/Sum rubocop rule
We're not adding it for performance reasons but because it simplifies the code.
This commit is contained in:
@@ -217,6 +217,9 @@ Performance/EndWith:
|
||||
Performance/StartWith:
|
||||
Enabled: true
|
||||
|
||||
Performance/Sum:
|
||||
Enabled: true
|
||||
|
||||
Rails/ActiveRecordCallbacksOrder:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user