.rubocop.yml in fspath-3.1.0 vs .rubocop.yml in fspath-3.1.1

- old
+ new

@@ -1,73 +1,70 @@ AllCops: Exclude: - '*.gemspec' -Lint/EndAlignment: +Layout/AccessModifierIndentation: + EnforcedStyle: outdent + +Layout/CaseIndentation: + EnforcedStyle: end + +Layout/DotPosition: + EnforcedStyle: trailing + +Layout/EndAlignment: EnforcedStyleAlignWith: variable +Layout/IndentFirstHashElement: + EnforcedStyle: consistent + +Layout/SpaceBeforeBlockBraces: + EnforcedStyle: no_space + EnforcedStyleForEmptyBraces: no_space + +Layout/SpaceInsideHashLiteralBraces: + EnforcedStyle: no_space + +Lint/AmbiguousBlockAssociation: + Exclude: + - spec/**/*_spec.rb + Metrics/BlockLength: Exclude: - spec/**/*_spec.rb Metrics/ClassLength: Max: 250 Metrics/MethodLength: Max: 15 -Style/AccessModifierIndentation: - EnforcedStyle: outdent - Style/BracesAroundHashParameters: Enabled: false -Style/CaseIndentation: - EnforcedStyle: end - -Style/DotPosition: - EnforcedStyle: trailing - Style/DoubleNegation: Enabled: false -Style/Encoding: - EnforcedStyle: when_needed - Style/HashSyntax: EnforcedStyle: hash_rockets Style/IfUnlessModifier: - MaxLineLength: 40 + Enabled: false -Style/IndentHash: - EnforcedStyle: consistent - Style/MultilineIfModifier: Exclude: - spec/**/*_spec.rb -Style/OpMethod: # leave name in `def ~(name = nil)` - Enabled: false - -Style/PercentLiteralDelimiters: - PreferredDelimiters: - '%w': '[]' - '%W': '[]' - Style/Semicolon: AllowAsExpressionSeparator: true Style/SignalException: EnforcedStyle: semantic -Style/SpaceBeforeBlockBraces: - EnforcedStyle: no_space - -Style/SpaceInsideHashLiteralBraces: - EnforcedStyle: no_space - Style/TrailingCommaInArguments: EnforcedStyleForMultiline: no_comma -Style/TrailingCommaInLiteral: +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: comma + +Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma