diff --git a/src/ameba/rule/typing/proc_literal_return_type_restriction.cr b/src/ameba/rule/typing/proc_literal_return_type_restriction.cr index dd5adaddc..4d40f80b6 100644 --- a/src/ameba/rule/typing/proc_literal_return_type_restriction.cr +++ b/src/ameba/rule/typing/proc_literal_return_type_restriction.cr @@ -25,11 +25,12 @@ module Ameba::Rule::Typing # # ``` # Typing/ProcReturnTypeRestriction: - # Enabled: true + # Enabled: false # ``` class ProcLiteralReturnTypeRestriction < Base properties do description "Recommends that proc literals have a return type restriction" + enabled false end MSG = "Proc literals should have a return type"