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:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/ChainedCallWithNoBang
|
# Performance/ChainedCallWithNoBang:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# CallNames:
|
# CallNames:
|
||||||
# - uniq
|
# - uniq
|
||||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/CompactAfterMap
|
# Performance/CompactAfterMap:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class CompactAfterMap < Base
|
class CompactAfterMap < Base
|
||||||
|
|
|
@ -16,7 +16,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/FlattenAfterMap
|
# Performance/FlattenAfterMap:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class FlattenAfterMap < Base
|
class FlattenAfterMap < Base
|
||||||
|
|
|
@ -19,7 +19,7 @@ module Ameba::Rule::Performance
|
||||||
# YAML configuration example:
|
# YAML configuration example:
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# Performance/MapInsteadOfBlock
|
# Performance/MapInsteadOfBlock:
|
||||||
# Enabled: true
|
# Enabled: true
|
||||||
# ```
|
# ```
|
||||||
class MapInsteadOfBlock < Base
|
class MapInsteadOfBlock < Base
|
||||||
|
|
Loading…
Reference in a new issue