.rubocop.yml in osso-0.0.11 vs .rubocop.yml in osso-0.1.0
- old
+ new
@@ -1,27 +1,12 @@
AllCops:
+ NewCops: enable
TargetRubyVersion: 2.6.0
Exclude:
- db/**/*
- lib/osso/db/**/*
-# New rules must be explicitly opted into / out of
-Lint/RaiseException:
- Enabled: true
-Lint/StructNewOverride:
- Enabled: true
-Style/HashEachMethods:
- Enabled: true
-Style/HashTransformKeys:
- Enabled: true
-Style/HashTransformValues:
- Enabled: true
-Layout/SpaceAroundMethodCallOperator:
- Enabled: true
-Style/ExponentialNotation:
- Enabled: true
-
Style/TrailingCommaInArguments:
Description: "Checks for trailing comma in argument lists."
StyleGuide: "https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas"
EnforcedStyleForMultiline: comma
SupportedStylesForMultiline:
@@ -47,9 +32,12 @@
SupportedStylesForMultiline:
- comma
- consistent_comma
- no_comma
Enabled: true
+
+Layout/FirstHashElementIndentation:
+ EnforcedStyle: consistent
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/MultilineOperationIndentation:
\ No newline at end of file