From 0f25b50a57c7c3f970b93e9fa3ca62ba1a01c491 Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Fri, 17 Nov 2017 19:34:01 +0200 Subject: [PATCH] Add missing YAML sample --- src/ameba/rule/redundant_begin.cr | 6 ++++++ 1 file changed, 6 insertions(+) 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