config/rubocop.yml in unasukecop-0.5.0 vs config/rubocop.yml in unasukecop-0.6.0
- old
+ new
@@ -1,14 +1,8 @@
AllCops:
DisplayCopNames: true
-## Lint
-
-# just a preference
-Lint/BlockAlignment:
- EnforcedStyleAlignWith: start_of_block
-
## Metrics
# inherit from onkcop
Metrics/LineLength:
Max: 160
@@ -61,13 +55,20 @@
# I use trailing comma
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: consistent_comma
# same as reason of Style/TrailingCommaInArguments
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
+Style/TrailingCommaInHashLiteral:
+ EnforcedStyleForMultiline: comma
+
## Layout
+
+# just a preference
+Layout/BlockAlignment:
+ EnforcedStyleAlignWith: start_of_block
# when copy-and-past to REPL, trailing dot is more safety
# inherit from onkcop
Layout/DotPosition:
EnforcedStyle: trailing