.rubocop.yml in quiz_api_client-2.4.2 vs .rubocop.yml in quiz_api_client-2.4.3

- old
+ new

@@ -1,12 +1,5 @@ -Rails: - Enabled: true - -Rails/HttpPositionalArguments: - # Renable once we are on Rails v5 - Enabled: false - AllCops: TargetRubyVersion: 2.3 Metrics/ClassLength: Max: 200 # Default: 100 @@ -18,24 +11,29 @@ Max: 20 # Default: 10 Metrics/BlockLength: Max: 30 Exclude: - - 'spec/**/*.rb' - - 'config/routes.rb' - - 'app/docs/**/*.rb' + - quiz_api_client.gemspec + - spec/**/*.rb -Style/AlignParameters: +Layout/AlignParameters: # Alignment of parameters in multi-line method calls. # # The `with_fixed_indentation` style aligns the following lines with one # level of indentation relative to the start of the line with the method call. # # method_call(a, # b) EnforcedStyle: with_fixed_indentation +Layout/CaseIndentation: + EnforcedStyle: end + +Lint/EndAlignment: + EnforcedStyleAlignWith: variable + Style/ClassAndModuleChildren: # Checks the style of children definitions at classes and modules. # # Basically there are two different styles: # @@ -57,15 +55,9 @@ # This cop checks for missing top-level documentation of classes and modules. # Classes with no body and namespace modules are exempt from the check. # Namespace modules are modules that have nothing in their bodies except # classes or other modules. Enabled: false - -Lint/EndAlignment: - AlignWith: variable - -Style/CaseIndentation: - IndentWhenRelativeTo: end Style/FrozenStringLiteralComment: # `when_needed` will add the frozen string literal comment to files # only when the `TargetRubyVersion` is set to 2.3+. # `always` will always add the frozen string literal comment to a file