.rubocop.yml in git_dump-0.1.0 vs .rubocop.yml in git_dump-0.1.1
- old
+ new
@@ -1,62 +1,104 @@
AllCops:
Exclude:
- '*.gemspec'
-Lint/EndAlignment:
- AlignWith: variable
+Layout/AccessModifierIndentation:
+ EnforcedStyle: outdent
+Layout/CaseIndentation:
+ EnforcedStyle: end
+
+Layout/DotPosition:
+ EnforcedStyle: trailing
+
+Layout/EndAlignment:
+ EnforcedStyleAlignWith: variable
+
+Layout/IndentFirstArrayElement:
+ EnforcedStyle: consistent
+
+Layout/IndentFirstHashElement:
+ EnforcedStyle: consistent
+
+Layout/SpaceBeforeBlockBraces:
+ EnforcedStyle: no_space
+ EnforcedStyleForEmptyBraces: no_space
+
+Layout/SpaceInsideHashLiteralBraces:
+ EnforcedStyle: no_space
+
+Lint/NestedPercentLiteral:
+ Enabled: false
+
+Lint/UnneededSplatExpansion:
+ Enabled: false
+
Metrics/AbcSize:
Max: 25
+Metrics/BlockLength:
+ Exclude:
+ - 'script/benchmark'
+ - 'spec/**/*.rb'
+
Metrics/CyclomaticComplexity:
Max: 10
Metrics/MethodLength:
Max: 20
+Metrics/ModuleLength:
+ Max: 300
+
Metrics/PerceivedComplexity:
Max: 8
-Style/AccessModifierIndentation:
- EnforcedStyle: outdent
+Style/Alias:
+ EnforcedStyle: prefer_alias_method
Style/BracesAroundHashParameters:
Enabled: false
-Style/CaseIndentation:
- IndentWhenRelativeTo: end
-
-Style/DotPosition:
- EnforcedStyle: trailing
-
Style/DoubleNegation:
Enabled: false
Style/Encoding:
- EnforcedStyle: when_needed
+ Enabled: false
+Style/FormatStringToken:
+ Enabled: false
+
Style/HashSyntax:
EnforcedStyle: hash_rockets
Style/IfUnlessModifier:
- MaxLineLength: 40
+ Enabled: false
-Style/IndentHash:
- EnforcedStyle: consistent
+Style/NumericPredicate:
+ EnforcedStyle: comparison
+Style/ParallelAssignment:
+ Enabled: false
+
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': '[]'
'%W': '[]'
+Style/SafeNavigation:
+ Enabled: false
+
Style/Semicolon:
AllowAsExpressionSeparator: true
-Style/SpaceBeforeBlockBraces:
- EnforcedStyle: no_space
+Style/SignalException:
+ EnforcedStyle: semantic
-Style/SpaceInsideHashLiteralBraces:
- EnforcedStyle: no_space
+Style/TrailingCommaInArguments:
+ EnforcedStyleForMultiline: no_comma
-Style/TrailingComma:
+Style/TrailingCommaInArrayLiteral:
+ EnforcedStyleForMultiline: comma
+
+Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma