From 3a1ee7fa218ecf3a833029360133a05ec5fd564c Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Thu, 11 Feb 2021 11:01:30 +0200 Subject: [PATCH] Correct yml examples --- src/ameba/rule/performance/chained_call_with_no_bang.cr | 2 +- src/ameba/rule/performance/compact_after_map.cr | 2 +- src/ameba/rule/performance/flatten_after_map.cr | 2 +- src/ameba/rule/performance/map_instead_of_block.cr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ameba/rule/performance/chained_call_with_no_bang.cr b/src/ameba/rule/performance/chained_call_with_no_bang.cr index d7f827ae..22a57c78 100644 --- a/src/ameba/rule/performance/chained_call_with_no_bang.cr +++ b/src/ameba/rule/performance/chained_call_with_no_bang.cr @@ -25,7 +25,7 @@ module Ameba::Rule::Performance # YAML configuration example: # # ``` - # Performance/ChainedCallWithNoBang + # Performance/ChainedCallWithNoBang: # Enabled: true # CallNames: # - uniq diff --git a/src/ameba/rule/performance/compact_after_map.cr b/src/ameba/rule/performance/compact_after_map.cr index 77f542cf..63184498 100644 --- a/src/ameba/rule/performance/compact_after_map.cr +++ b/src/ameba/rule/performance/compact_after_map.cr @@ -16,7 +16,7 @@ module Ameba::Rule::Performance # YAML configuration example: # # ``` - # Performance/CompactAfterMap + # Performance/CompactAfterMap: # Enabled: true # ``` class CompactAfterMap < Base diff --git a/src/ameba/rule/performance/flatten_after_map.cr b/src/ameba/rule/performance/flatten_after_map.cr index 631c656d..18ee2f8a 100644 --- a/src/ameba/rule/performance/flatten_after_map.cr +++ b/src/ameba/rule/performance/flatten_after_map.cr @@ -16,7 +16,7 @@ module Ameba::Rule::Performance # YAML configuration example: # # ``` - # Performance/FlattenAfterMap + # Performance/FlattenAfterMap: # Enabled: true # ``` class FlattenAfterMap < Base diff --git a/src/ameba/rule/performance/map_instead_of_block.cr b/src/ameba/rule/performance/map_instead_of_block.cr index 5e803617..377130fc 100644 --- a/src/ameba/rule/performance/map_instead_of_block.cr +++ b/src/ameba/rule/performance/map_instead_of_block.cr @@ -19,7 +19,7 @@ module Ameba::Rule::Performance # YAML configuration example: # # ``` - # Performance/MapInsteadOfBlock + # Performance/MapInsteadOfBlock: # Enabled: true # ``` class MapInsteadOfBlock < Base