.rubocop.yml in quiz_api_client-2.9.0 vs .rubocop.yml in quiz_api_client-3.0.0

- old
+ new

@@ -1,7 +1,7 @@ AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.4 Metrics/ClassLength: Max: 200 # Default: 100 Metrics/LineLength: @@ -14,10 +14,13 @@ Max: 30 Exclude: - quiz_api_client.gemspec - spec/**/*.rb +Naming/MemoizedInstanceVariableName: + EnforcedStyleForLeadingUnderscores: required + 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. @@ -27,11 +30,11 @@ EnforcedStyle: with_fixed_indentation Layout/CaseIndentation: EnforcedStyle: end -Lint/EndAlignment: +Layout/EndAlignment: EnforcedStyleAlignWith: variable Style/ClassAndModuleChildren: # Checks the style of children definitions at classes and modules. # @@ -57,15 +60,13 @@ # Namespace modules are modules that have nothing in their bodies except # classes or other modules. Enabled: false 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 # regardless of the Ruby version or if `freeze` or `<<` are called on a # string literal. If you run code against multiple versions of Ruby, it is # possible that this will create errors in Ruby 2.3.0+. # # See: https://wyeworks.com/blog/2015/12/1/immutable-strings-in-ruby-2-dot-3 - EnforcedStyle: when_needed + EnforcedStyle: always Enabled: false