mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix mistakes/typos
This commit is contained in:
parent
0520774930
commit
b5c9f4dff6
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
ComaprisonToBoolean:
|
ComparisonToBoolean:
|
||||||
# Disallows comparison to booleans in conditions.
|
# Disallows comparison to booleans in conditions.
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
@ -10,6 +10,10 @@ DebuggerStatement:
|
||||||
# Disallows calls to debugger.
|
# Disallows calls to debugger.
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
DuplicatedWhen:
|
||||||
|
# Disallows duplicated when conditions in case.
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
EmptyEnsure:
|
EmptyEnsure:
|
||||||
# Disallows empty ensure statement.
|
# Disallows empty ensure statement.
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
|
@ -60,8 +60,8 @@ class Ameba::Config
|
||||||
@formatter ||= default_formatter
|
@formatter ||= default_formatter
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns a subconfig of a home full loaded configuration.
|
# Returns a subconfig of a fully loaded configuration.
|
||||||
# This is used to get a corresponding to a specific rule config.
|
# This is used to get a config for a specific rule.
|
||||||
#
|
#
|
||||||
# ```
|
# ```
|
||||||
# config = Ameba::Config.load
|
# config = Ameba::Config.load
|
||||||
|
|
Loading…
Reference in a new issue