.rubocop.yml in pundit-2.1.1 vs .rubocop.yml in pundit-2.2.0

- old
+ new

@@ -1,9 +1,11 @@ AllCops: TargetRubyVersion: 2.6 Exclude: - "lib/generators/**/templates/**/*" + SuggestExtensions: false + NewCops: disable Metrics/BlockLength: Exclude: - "**/*_spec.rb" @@ -13,11 +15,11 @@ Metrics/ModuleLength: Max: 200 Exclude: - "**/*_spec.rb" -Metrics/LineLength: +Layout/LineLength: Max: 120 Metrics/AbcSize: Enabled: false @@ -25,11 +27,14 @@ Enabled: false Metrics/PerceivedComplexity: Enabled: false -Layout/AlignParameters: +Gemspec/RequiredRubyVersion: + Enabled: false + +Layout/ParameterAlignment: EnforcedStyle: with_fixed_indentation Layout/CaseIndentation: EnforcedStyle: case SupportedStyles: @@ -61,7 +66,7 @@ Enabled: false Style/DoubleNegation: Enabled: false -Documentation: +Style/Documentation: Enabled: false # TODO: Enable again once we have more docs