.rubocop.yml in shoryuken-3.2.3 vs .rubocop.yml in shoryuken-3.3.0

- old
+ new

@@ -1,56 +1,122 @@ AllCops: + Exclude: + - '**/Gemfile' TargetRubyVersion: 2.1 -Style/SignalException: +Metrics/PerceivedComplexity: Enabled: false -Style/DoubleNegation: +Metrics/CyclomaticComplexity: Enabled: false -Style/SpaceAroundEqualsInParameterDefault: +Metrics/ClassLength: Enabled: false +Metrics/ParameterLists: + Enabled: false + +Metrics/MethodLength: + Enabled: false + +Metrics/AbcSize: + # Disable "Assignment Branch Condition size for update_attributes is too high" from houndci + # because codeclimate already give that for us with more details + Enabled: false + +Metrics/LineLength: + Max: 125 + +Style/Alias: + Enabled: false + +Style/PerlBackrefs: + Enabled: false + +Style/TrailingBlankLines: + Enabled: false + +# Override the HoundCI custom rules (they do not use Rubocop defaults) +Style/StringLiterals: + EnforcedStyle: single_quotes + +Style/StringLiteralsInInterpolation: + EnforcedStyle: single_quotes + +Style/ExtraSpacing: + # disabling that in favour of using: + # long_field_test_1 = 1 + # field_test_2 = 2 + # etc = 3 + Enabled: false + +Style/BlockDelimiters: + Enabled: false + +Style/CollectionMethods: + Enabled: false + +Style/SignalException: + Enabled: false + Style/Documentation: Enabled: false Style/ClassAndModuleChildren: Enabled: false -Metrics/PerceivedComplexity: +Style/CommentAnnotation: Enabled: false -Metrics/CyclomaticComplexity: +Style/DotPosition: + EnforcedStyle: leading + +Style/GuardClause: Enabled: false -Style/CommentAnnotation: +Style/RegexpLiteral: Enabled: false -Metrics/ClassLength: +Lint/HandleExceptions: Enabled: false -Metrics/ParameterLists: +Lint/AssignmentInCondition: Enabled: false -Metrics/LineLength: - Max: 130 +Style/DoubleNegation: + Enabled: false -Metrics/MethodLength : +Style/AndOr: Enabled: false -Style/PerlBackrefs: +Style/ClassVars: Enabled: false -Style/StringLiterals: - EnforcedStyle: single_quotes - SupportedStyles: - - single_quotes - - double_quotes +Style/GlobalVars: + Enabled: false -Style/StringLiteralsInInterpolation: - EnforcedStyle: single_quotes - SupportedStyles: - - single_quotes - - double_quotes +Style/SingleLineBlockParams: + Enabled: false -Lint/UnusedMethodArgument: +Style/RescueModifier: + Enabled: false + +Style/ColonMethodCall: + Enabled: false + +Style/FileName: + Enabled: false + +Style/FrozenStringLiteralComment: + Enabled: false + +Style/RescueStandardError: + Enabled: false + +Security/YAMLLoad: + Enabled: false + +Naming/MemoizedInstanceVariableName: + Enabled: false + +Performance/RedundantBlockCall: Enabled: false