.rubocop.yml in skippy-0.4.1.a vs .rubocop.yml in skippy-0.4.2.a
- old
+ new
@@ -7,10 +7,11 @@
- 'fixtures/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
DisplayCopNames: true
+
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
# It's ok to have more than one empty line to create a 'paragrapth'.
Layout/EmptyLines:
@@ -34,10 +35,15 @@
# Add lines as needed.
Layout/EmptyLinesAroundBlockBody:
Enabled: false
+
+Naming/RescuedExceptionsVariableName:
+ PreferredName: error
+
+
Metrics/AbcSize:
Enabled: false
Exclude:
- test/**/*
@@ -59,10 +65,11 @@
# Too noisy.
Metrics/PerceivedComplexity:
Enabled: false
+
# Prefer { ... } over do ... end except for control flow and
# method defintions. Unfortunatly, no cop configuration for this.
# https://github.com/chneukirchen/styleguide/blob/e60de37b478d3f892f6985a58d573016f33f0269/RUBY-STYLE#L63-L67
Style/BlockDelimiters:
EnforcedStyle: semantic
@@ -107,7 +114,10 @@
# %i(symbol foo).
Style/SymbolArray:
Enabled: False
# Add trailing comma so it's easy to duplicate/add lines.
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
+ EnforcedStyleForMultiline: consistent_comma
+
+Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma