.rubocop.yml in solidus_payu_latam-0.0.2 vs .rubocop.yml in solidus_payu_latam-0.1.0

- old
+ new

@@ -3,28 +3,16 @@ AllCops: Exclude: - 'spec/dummy/**/*' - 'vendor/bundle/**/*' - TargetRubyVersion: 2.1 + TargetRubyVersion: 2.6 -# Sometimes I believe this reads better -# This also causes spacing issues on multi-line fixes -Style/BracesAroundHashParameters: - Enabled: false - # We use class vars and will have to continue doing so for compatability Style/ClassVars: Enabled: false -# We need these names for backwards compatability -Style/PredicateName: - Enabled: false - -Style/AccessorMethodName: - Enabled: false - # This has been used for customization Style/MutableConstant: Enabled: false Style/ClassAndModuleChildren: @@ -37,13 +25,10 @@ Enabled: false Style/ConditionalAssignment: Enabled: false -Performance/Count: - Enabled: false - Style/RaiseArgs: Enabled: false # We can use good judgement here Style/RegexpLiteral: @@ -51,37 +36,10 @@ # Unicode comments are useful Style/AsciiComments: Enabled: false -Lint/EndAlignment: - Enabled: false - -Style/ElseAlignment: - Enabled: false - -Style/IndentationWidth: - Enabled: false - -Style/AlignParameters: - Enabled: false - -Style/ClosingParenthesisIndentation: - Enabled: false - -Style/MultilineMethodCallIndentation: - Enabled: false - -Style/IndentArray: - Enabled: false - -Style/IndentHash: - Enabled: false - -Style/AlignHash: - Enabled: false - # From http://relaxed.ruby.style/ Style/Alias: Enabled: false StyleGuide: http://relaxed.ruby.style/#stylealias @@ -96,14 +54,10 @@ Style/Documentation: Enabled: false StyleGuide: http://relaxed.ruby.style/#styledocumentation -Style/DotPosition: - Enabled: false - StyleGuide: http://relaxed.ruby.style/#styledotposition - Style/DoubleNegation: Enabled: false StyleGuide: http://relaxed.ruby.style/#styledoublenegation Style/EndBlock: @@ -164,18 +118,10 @@ Style/SingleLineMethods: Enabled: false StyleGuide: http://relaxed.ruby.style/#stylesinglelinemethods -Style/SpaceBeforeBlockBraces: - Enabled: false - StyleGuide: http://relaxed.ruby.style/#stylespacebeforeblockbraces - -Style/SpaceInsideParens: - Enabled: false - StyleGuide: http://relaxed.ruby.style/#stylespaceinsideparens - Style/SpecialGlobalVars: Enabled: false StyleGuide: http://relaxed.ruby.style/#stylespecialglobalvars Style/StringLiterals: @@ -187,19 +133,28 @@ Style/WhileUntilModifier: Enabled: false StyleGuide: http://relaxed.ruby.style/#stylewhileuntilmodifier +Style/HashEachMethods: + Enabled: true + +Style/HashTransformKeys: + Enabled: true + +Style/HashTransformValues: + Enabled: true + Lint/AmbiguousRegexpLiteral: Enabled: false StyleGuide: http://relaxed.ruby.style/#lintambiguousregexpliteral Lint/AssignmentInCondition: Enabled: false StyleGuide: http://relaxed.ruby.style/#lintassignmentincondition -Lint/HandleExceptions: +Lint/SuppressedException: Exclude: - 'Rakefile' Metrics/AbcSize: Enabled: false @@ -232,5 +187,50 @@ Metrics/PerceivedComplexity: Enabled: false Naming/BinaryOperatorParameterName: Enabled: false + +Naming/PredicateName: + Enabled: false + +Naming/AccessorMethodName: + Enabled: false + +Layout/EndAlignment: + Enabled: false + +Layout/ElseAlignment: + Enabled: false + +Layout/IndentationWidth: + Enabled: false + +Layout/ParameterAlignment: + Enabled: false + +Layout/ClosingParenthesisIndentation: + Enabled: false + +Layout/MultilineMethodCallIndentation: + Enabled: false + +Layout/FirstArrayElementIndentation: + Enabled: false + +Layout/FirstHashElementIndentation: + Enabled: false + +Layout/HashAlignment: + Enabled: false + +Layout/DotPosition: + Enabled: false + StyleGuide: http://relaxed.ruby.style/#styledotposition + +Layout/SpaceBeforeBlockBraces: + Enabled: false + StyleGuide: http://relaxed.ruby.style/#stylespacebeforeblockbraces + +Layout/SpaceInsideParens: + Enabled: false + StyleGuide: http://relaxed.ruby.style/#stylespaceinsideparens