.hound.yml in tapestry-0.3.0 vs .hound.yml in tapestry-0.4.0
- old
+ new
@@ -28,42 +28,46 @@
# Prefer fail over raise.
Style/SignalException:
Enabled: false
# This never works for validations.
-Style/AlignHash:
+Layout/AlignHash:
EnforcedLastArgumentHashStyle: ignore_implicit
# Align multi-line params with previous line.
-Style/AlignParameters:
+Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation
# Indent `when` clause one step from `case`.
-Style/CaseIndentation:
+Layout/CaseIndentation:
IndentOneStep: true
# Don't force bad var names for reduce/inject loops.
Style/SingleLineBlockParams:
Enabled: false
# For method chains, keep the dot with the method name.
-Style/DotPosition:
+Layout/DotPosition:
EnforcedStyle: leading
# Stop nesting so hard.
Metrics/BlockNesting:
Max: 2
# Encourage short methods.
Metrics/MethodLength:
Max: 15
+# Encourage short (as possible) modules.
+Metrics/ModuleLength:
+ Max: 105
+
# Encourage fewer parameters.
Metrics/ParameterLists:
Max: 4
# Allow methods with has_ for predicates.
-Style/PredicateName:
+Naming/PredicateName:
NameWhitelist:
- has_correct_url?
- has_correct_title?
# Remove execute permissions check.