.rubocop.hound.yml in webhook_system-2.3.1 vs .rubocop.hound.yml in webhook_system-2.4.0
- old
+ new
@@ -11,33 +11,28 @@
collect: map
collect!: map!
find: detect
find_all: select
reduce: inject
-Style/DotPosition:
+Layout/DotPosition:
Description: Checks the position of the dot in multi-line method calls.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
Enabled: true
EnforcedStyle: trailing
SupportedStyles:
- leading
- trailing
-Style/FileName:
- Description: Use snake_case for source file names.
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
- Enabled: false
- Exclude: []
+
Style/GuardClause:
Description: Check for conditionals that can be replaced with guard clauses
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
Enabled: false
MinBodyLength: 1
Style/IfUnlessModifier:
Description: Favor modifier if/unless usage when you have a single-line body.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
Enabled: false
- MaxLineLength: 80
Style/OptionHash:
Description: Don't use option hashes when you can use keyword arguments.
Enabled: false
Style/PercentLiteralDelimiters:
Description: Use `%`-literal delimiters consistently
@@ -51,19 +46,19 @@
"%r": "{}"
"%s": "()"
"%w": "()"
"%W": "()"
"%x": "()"
-Style/PredicateName:
+Naming/PredicateName:
Description: Check the names of predicate methods.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
Enabled: true
NamePrefix:
- is_
- has_
- have_
- NamePrefixBlacklist:
+ ForbiddenPrefixes:
- is_
Exclude:
- spec/**/*
Style/RaiseArgs:
Description: Checks the arguments passed to raise/fail.
@@ -112,28 +107,13 @@
Enabled: true
EnforcedStyle: single_quotes
SupportedStyles:
- single_quotes
- double_quotes
-Style/TrailingCommaInArguments:
- Description: 'Checks for trailing comma in argument lists.'
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
- Enabled: false
- EnforcedStyleForMultiline: no_comma
- SupportedStyles:
- - comma
- - consistent_comma
- - no_comma
-Style/TrailingCommaInLiteral:
- Description: 'Checks for trailing comma in array and hash literals.'
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
- Enabled: false
- EnforcedStyleForMultiline: no_comma
- SupportedStyles:
- - comma
- - consistent_comma
- - no_comma
+
+
+
Metrics/AbcSize:
Description: A calculated magnitude based on number of assignments, branches, and
conditions.
Enabled: false
Max: 15
@@ -175,11 +155,11 @@
Enabled: false
AllowSafeAssignment: true
Style/InlineComment:
Description: Avoid inline comments.
Enabled: false
-Style/AccessorMethodName:
+Naming/AccessorMethodName:
Description: Check the naming of accessor methods for get_/set_.
Enabled: false
Style/Alias:
Description: Use alias_method instead of alias.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
@@ -229,15 +209,13 @@
StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
Enabled: false
Lint/EachWithObjectArgument:
Description: Check for immutable argument given to each_with_object.
Enabled: true
-Lint/HandleExceptions:
+Lint/SuppressedException:
Description: Don't suppress exception.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
Enabled: false
-Lint/LiteralInCondition:
- Description: Checks of literals used in conditions.
- Enabled: false
+
Lint/LiteralInInterpolation:
Description: Checks for literals used in interpolation.
Enabled: false