From 6e0710a7cbcb7f8cf10243e20c527152fd2759b3 Mon Sep 17 00:00:00 2001 From: Margret Riegert Date: Thu, 12 Dec 2024 19:07:39 -0500 Subject: [PATCH] Typing/ProcLiteralReturnTypeRestriction disabled by default --- src/ameba/rule/typing/proc_literal_return_type_restriction.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"