Add Rails/ActionControllerFlashBeforeRender rule
This rule was added in rubocop-rails 2.16.0. Even if we always follow it, sometimes developers don't realize about this mistake immediately, so it's good to have a rule to guarantee it won't happen.
This commit is contained in:
@@ -313,6 +313,9 @@ Performance/StringIdentifierArgument:
|
|||||||
Performance/Sum:
|
Performance/Sum:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
Rails/ActionControllerFlashBeforeRender:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
Rails/ActiveRecordCallbacksOrder:
|
Rails/ActiveRecordCallbacksOrder:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user