.rubocop.yml in nvd_feed_api-0.3.0 vs .rubocop.yml in nvd_feed_api-0.3.1

- old
+ new

@@ -1,11 +1,15 @@ AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 + NewCops: enable -Layout/AlignHash: +Layout/HashAlignment: EnforcedHashRocketStyle: table +Layout/LineLength: + Enabled: false + # Rubocop is too stupid too see that the variable is used Lint/UselessAssignment: Enabled: false Metrics/AbcSize: @@ -21,13 +25,10 @@ Enabled: false Metrics/CyclomaticComplexity: Max: 20 -Metrics/LineLength: - Enabled: false - Metrics/MethodLength: Max: 100 Metrics/PerceivedComplexity: Enabled: false @@ -45,5 +46,8 @@ AutoCorrect: false # Allow explicit return Style/RedundantReturn: Enabled: false + +Style/WordArray: + EnforcedStyle: brackets