diff --git a/src/ameba/rule/redundant_begin.cr b/src/ameba/rule/redundant_begin.cr index cbdb40d0..2a67d267 100644 --- a/src/ameba/rule/redundant_begin.cr +++ b/src/ameba/rule/redundant_begin.cr @@ -48,6 +48,12 @@ module Ameba::Rule # b = 2 # end # ``` + # YAML configuration example: + # + # ``` + # RedundantBegin: + # Enabled: true + # ``` # struct RedundantBegin < Base include AST::Util