Skip to content

Commit

Permalink
Typing/ProcLiteralReturnTypeRestriction disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed Dec 13, 2024
1 parent 60cecfc commit 6e0710a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6e0710a

Please sign in to comment.