.hound.yml in rubicure-0.2.4 vs .hound.yml in rubicure-0.2.5
- old
+ new
@@ -1,25 +1,127 @@
-Style/LineLength:
- Description: 'Limit lines to 130 characters.'
- Max: 130
-Style/SpaceInsideParens:
+# 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/SpaceBeforeBlockBraces:
+
+Style/BlockDelimiters:
Enabled: false
-StringLiterals:
+
+Style/BracesAroundHashParameters:
Enabled: false
-Style/TrailingComma:
+
+Style/DeprecatedHashMethods:
Enabled: false
-Style/BlockComments:
+
+Style/Documentation:
Enabled: false
-Style/NilComparison:
+
+Style/DoubleNegation:
Enabled: false
-Style/Documentation:
+
+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/RegexpLiteral:
+
+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/CaseEquality:
+
+Style/SingleLineBlockParams:
Enabled: false
-Style/SpaceBeforeComma:
+
+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