.rubocop.yml in email_inquire-0.8.0 vs .rubocop.yml in email_inquire-0.9.0
- old
+ new
@@ -21,10 +21,13 @@
EnforcedStyle: empty_lines_except_namespace
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_except_namespace
+Layout/EndAlignment:
+ AutoCorrect: true
+
Layout/ExtraSpacing:
AllowForAlignment: false
Layout/FirstArrayElementLineBreak:
Enabled: true
@@ -58,13 +61,10 @@
AllowForAlignment: false
Layout/SpaceBeforeFirstArg:
AllowForAlignment: false
-Lint/EndAlignment:
- AutoCorrect: true
-
Lint/RedundantWithIndex:
Enabled: true
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
@@ -96,13 +96,10 @@
Max: 10 # default: 7
Naming/VariableNumber:
EnforcedStyle: snake_case
-Performance/HashEachMethods:
- Enabled: false
-
Style/AsciiComments:
Enabled: false
Style/AndOr:
Enabled: true
@@ -144,11 +141,11 @@
- desc
- namespace
- task
Style/ModuleFunction:
- Enabled: false
+ EnforcedStyle: extend_self
Style/ReturnNil:
Enabled: true
Style/SignalException:
@@ -163,13 +160,16 @@
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: no_comma
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
+Style/TrailingCommaInHashLiteral:
+ EnforcedStyleForMultiline: comma
+
#
# Temporary disabled
#
Layout/EmptyLinesAroundArguments:
@@ -213,12 +213,9 @@
Style/ClassVars:
Enabled: false
Style/DateTime:
- Enabled: false
-
-Style/ExtendSelf:
Enabled: false
Style/FormatStringToken:
Enabled: false # issue with strftime