.rubocop.yml in augury-1.1.2 vs .rubocop.yml in augury-1.2.0

- old
+ new

@@ -1,10 +1,11 @@ AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 Exclude: - bin/**/* - vendor/**/* + NewCops: enable Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: @@ -14,10 +15,13 @@ EnforcedStyleForMultiline: comma Style/RedundantSelf: Enabled: false +Style/Documentation: + Enabled: false + Layout/IndentationWidth: Enabled: false # Alignment so that changing var / method does not change all lines in diff Layout/ParameterAlignment: @@ -38,8 +42,17 @@ Layout/CaseIndentation: EnforcedStyle: end IndentOneStep: true +Metrics/AbcSize: + Max: 25 + +Metrics/CyclomaticComplexity: + Max: 25 + +Metrics/MethodLength: + Max: 20 + # Ignore for rspec Metrics/BlockLength: - ExcludedMethods: ['describe', 'context'] + IgnoredMethods: ['describe', 'context']