Fix mistakes/typos

This commit is contained in:
Vitalii Elenhaupt 2017-11-19 13:31:20 +02:00
parent 0520774930
commit b5c9f4dff6
No known key found for this signature in database
GPG Key ID: 7558EF3A4056C706
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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