.rubocop.yml in how_is-19.0.0 vs .rubocop.yml in how_is-20.0.0

- old
+ new

@@ -71,10 +71,18 @@ # { ... } for multi-line blocks is okay, follow Weirichs rule instead: # https://web.archive.org/web/20140221124509/http://onestepback.org/index.cgi/Tech/Ruby/BraceVsDoEnd.rdoc Style/BlockDelimiters: Enabled: false +# There's more nuance around this than RuboCop seems capable of. +Style/BracesAroundHashParameters: + Enabled: false + +# Don't force use of Time or Date; DateTime is okay. +Style/DateTime: + Enabled: false + # Unicode is good, mkay? Style/Encoding: Enabled: true # Force Unix line endings. @@ -111,9 +119,17 @@ # Mixing hash styles just looks silly. # http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashSyntax Style/HashSyntax: EnforcedStyle: no_mixed_keys + +Layout/IndentHash: + Enabled: true + EnforcedStyle: consistent + +Layout/IndentArray: + Enabled: true + EnforcedStyle: consistent # I deplore assignments in conditions and never want them in any codebase # I have direct control over. Style/ParenthesesAroundCondition: AllowSafeAssignment: false