Merge pull request #3985 from consul/dynamic_find_by
Increase severity of DynamicFindBy rubocop rule
This commit is contained in:
@@ -209,7 +209,10 @@ Rails/Date:
|
|||||||
|
|
||||||
Rails/DynamicFindBy:
|
Rails/DynamicFindBy:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Severity: refactor
|
Whitelist:
|
||||||
|
- find_by_slug_or_id
|
||||||
|
- find_by_slug_or_id!
|
||||||
|
- find_by_manager_login
|
||||||
|
|
||||||
Rails/EnumUniqueness:
|
Rails/EnumUniqueness:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user