Sha256: acf1b0f5bd07528f963a74da6a1e4d52cb89457acd1b870f23c317fbb7627bd0

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

require:
  - rubocop-performance
  - rubocop-rspec

inherit_from: .rubocop_todo.yml

AllCops:
  TargetRubyVersion: 2.6
  NewCops: enable
  Exclude:
    - rails_app/**/*
    - vendor/bundle/**/*

Layout/LineLength:
  Max: 100
  Exclude:
    - my_api/config/application.rb

Metrics/BlockLength:
  Exclude:
    - 'my_api_client.gemspec'
    - 'lib/my_api_client/rspec/matchers/**/*'
    - 'spec/**/*'
    - 'my_api/spec/**/*'

Metrics/MethodLength:
  Max: 15

Naming/AccessorMethodName:
  Exclude:
    - example/api_clients/**/*
    - spec/lib/my_api_client/rspec/matchers/be_handled_as_an_error_spec.rb

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: comma

RSpec/DescribeClass:
  Exclude:
    - 'spec/integrations/api_clients/**/*'
    - 'spec/lib/my_api_client/rspec/matchers/**/*'

RSpec/ExampleLength:
  Max: 10

RSpec/FilePath:
  Exclude:
    - 'spec/lib/my_api_client/integrations/**/*'
    - 'spec/lib/my_api_client/errors/**/*'
    - 'spec/lib/my_api_client/rspec/**/*'

RSpec/NestedGroups:
  Max: 5

RSpec/MultipleExpectations:
  Max: 4

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
my_api_client-0.22.0 .rubocop.yml
my_api_client-0.21.0 .rubocop.yml