mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Correct yml examples
This commit is contained in:
parent
bf64c8242b
commit
3a1ee7fa21
4 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/ChainedCallWithNoBang
|
||||
# Performance/ChainedCallWithNoBang:
|
||||
# Enabled: true
|
||||
# CallNames:
|
||||
# - uniq
|
||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/CompactAfterMap
|
||||
# Performance/CompactAfterMap:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class CompactAfterMap < Base
|
||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/FlattenAfterMap
|
||||
# Performance/FlattenAfterMap:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class FlattenAfterMap < Base
|
||||
|
|
|
@ -19,7 +19,7 @@ module Ameba::Rule::Performance
|
|||
# YAML configuration example:
|
||||
#
|
||||
# ```
|
||||
# Performance/MapInsteadOfBlock
|
||||
# Performance/MapInsteadOfBlock:
|
||||
# Enabled: true
|
||||
# ```
|
||||
class MapInsteadOfBlock < Base
|
||||
|
|
Loading…
Reference in a new issue