.hound.yml in rubicure-0.3.1 vs .hound.yml in rubicure-0.3.2
- old
+ new
@@ -1,127 +1,3 @@
-# target_version:
-# rubocop v0.30.0
-
-# Exclude autogenerated files
-AllCops:
- Exclude:
- - "vendor/**/*" # rubocop config/default.yml
- - "db/schema.rb"
- DisplayCopNames: true
-
-##################### Style ##################################
-
-Style/AndOr:
- EnforcedStyle: conditionals
-
-Style/AsciiComments:
- Enabled: false
-
-Style/BlockDelimiters:
- Enabled: false
-
-Style/BracesAroundHashParameters:
- Enabled: false
-
-Style/DeprecatedHashMethods:
- Enabled: false
-
-Style/Documentation:
- Enabled: false
-
-Style/DoubleNegation:
- Enabled: false
-
-Style/DotPosition:
- EnforcedStyle: trailing
-
-Style/EmptyElse:
- EnforcedStyle: empty
-
-Style/FormatString:
- EnforcedStyle: percent
-
-Style/GuardClause:
- MinBodyLength: 5
-
-Style/HashSyntax:
- EnforcedStyle: ruby19_no_mixed_keys
- Exclude:
- - "**/*.rake"
- - "Rakefile"
-
-Style/IfUnlessModifier:
- Enabled: false
-
-Style/IndentHash:
- EnforcedStyle: consistent
-
-Style/Lambda:
- Enabled: false
-
-Style/NumericLiterals:
- MinDigits: 6
-
-Style/PredicateName:
- Enabled: false
-
-Style/RedundantSelf:
- Enabled: false
-
-Style/RedundantReturn:
- AllowMultipleReturnValues: true
-
-Style/SignalException:
- EnforcedStyle: only_raise
-
-Style/SpaceAroundOperators:
- MultiSpaceAllowedForOperators:
- - "="
- - "=>"
- - "||"
-
-Style/StringLiterals:
- EnforcedStyle: double_quotes
-
-Style/StringLiteralsInInterpolation:
- Enabled: false
-
-Style/SingleLineBlockParams:
- Enabled: false
-
-Style/SingleSpaceBeforeFirstArg:
- Enabled: false
-
-Style/TrailingComma:
- EnforcedStyleForMultiline: comma
-
-##################### Lint ##################################
-
-Lint/UnderscorePrefixedVariableName:
- Enabled: false
-
-Lint/UnusedMethodArgument:
- Enabled: false
-
-##################### Metrics ##################################
-
-Metrics/AbcSize:
- Max: 30
-
-Metrics/CyclomaticComplexity:
- Max: 10
-
-Metrics/LineLength:
- Max: 160
- Exclude:
- - "db/migrate/*.rb"
-
-Metrics/MethodLength:
- Max: 20
- Exclude:
- - "db/migrate/*.rb"
-
-Metrics/PerceivedComplexity:
- Max: 8
-
-Metrics/ClassLength:
- Max: 120
+ruby:
+ enabled: true
+ config_file: .rubocop.yml