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.
|
||||
Enabled: true
|
||||
|
||||
|
@ -10,6 +10,10 @@ DebuggerStatement:
|
|||
# Disallows calls to debugger.
|
||||
Enabled: true
|
||||
|
||||
DuplicatedWhen:
|
||||
# Disallows duplicated when conditions in case.
|
||||
Enabled: true
|
||||
|
||||
EmptyEnsure:
|
||||
# Disallows empty ensure statement.
|
||||
Enabled: true
|
||||
|
|
|
@ -60,8 +60,8 @@ class Ameba::Config
|
|||
@formatter ||= default_formatter
|
||||
end
|
||||
|
||||
# Returns a subconfig of a home full loaded configuration.
|
||||
# This is used to get a corresponding to a specific rule config.
|
||||
# Returns a subconfig of a fully loaded configuration.
|
||||
# This is used to get a config for a specific rule.
|
||||
#
|
||||
# ```
|
||||
# config = Ameba::Config.load
|
||||
|
|
Loading…
Reference in a new issue