Skip to content

Commit

Permalink
Correct yml examples
Browse files Browse the repository at this point in the history
  • Loading branch information
veelenga committed Feb 11, 2021
1 parent bf64c82 commit 3a1ee7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ameba/rule/performance/chained_call_with_no_bang.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Ameba::Rule::Performance
# YAML configuration example:
#
# ```
# Performance/ChainedCallWithNoBang
# Performance/ChainedCallWithNoBang:
# Enabled: true
# CallNames:
# - uniq
Expand Down
2 changes: 1 addition & 1 deletion src/ameba/rule/performance/compact_after_map.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Ameba::Rule::Performance
# YAML configuration example:
#
# ```
# Performance/CompactAfterMap
# Performance/CompactAfterMap:
# Enabled: true
# ```
class CompactAfterMap < Base
Expand Down
2 changes: 1 addition & 1 deletion src/ameba/rule/performance/flatten_after_map.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Ameba::Rule::Performance
# YAML configuration example:
#
# ```
# Performance/FlattenAfterMap
# Performance/FlattenAfterMap:
# Enabled: true
# ```
class FlattenAfterMap < Base
Expand Down
2 changes: 1 addition & 1 deletion src/ameba/rule/performance/map_instead_of_block.cr
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Ameba::Rule::Performance
# YAML configuration example:
#
# ```
# Performance/MapInsteadOfBlock
# Performance/MapInsteadOfBlock:
# Enabled: true
# ```
class MapInsteadOfBlock < Base
Expand Down

0 comments on commit 3a1ee7f

Please sign in to comment.