Sha256: 19f57feffb02c33794b1c1790378e6a9d0876d19967b8319c73ac914d3cd87fc

Contents?: true

Size: 1.94 KB

Versions: 3

Compression:

Stored size: 1.94 KB

Contents

AllCops:
  TargetRubyVersion: 2.6

Metrics/ClassLength:
  Max: 200 # Default: 100

Metrics/LineLength:
  Max: 120 # Default: 80

Metrics/MethodLength:
  Max: 20 # Default: 10

Metrics/BlockLength:
  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.
  #
  #     method_call(a,
  #       b)
  EnforcedStyle: with_fixed_indentation

Layout/CaseIndentation:
  EnforcedStyle: end

Layout/EndAlignment:
  EnforcedStyleAlignWith: variable

Style/ClassAndModuleChildren:
  # Checks the style of children definitions at classes and modules.
  #
  # Basically there are two different styles:
  #
  # `nested` - have each child on a separate line
  #   class Foo
  #     class Bar
  #     end
  #   end
  #
  # `compact` - combine definitions as much as possible
  #   class Foo::Bar
  #   end
  #
  # The compact style is only forced, for classes / modules with one child.
  EnforcedStyle: nested
  Enabled: false

Style/Documentation:
  # 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

Style/FrozenStringLiteralComment:
  # `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: always
  Enabled: false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quiz_api_client-4.2.0 .rubocop.yml
quiz_api_client-4.1.0 .rubocop.yml
quiz_api_client-4.0.0 .rubocop.yml