Sha256: 6b338ad75d15981c6342b3d162980ea190d03a24ff86a684cd3d59c884ae5e05

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

require:
  - rubocop-rspec

inherit_mode:
  merge:
    - Exclude

AllCops:
  TargetRubyVersion: 2.5
  Include:
    - "Rakefile"
    - "lib/**/*"
    - "bin/**/*"
    - "spec/**/*"
  Exclude:
    - "lib/stub_requests/core_ext/**/*"
    - "Gemfile.lock"
    - "bin/setup"
    - "gemfiles/**/*"

Lint/HandleExceptions:
  Enabled: true

Lint/UselessAssignment:
  Enabled: true

Metrics/AbcSize:
  Max: 38

Metrics/CyclomaticComplexity:
  Max: 7

Metrics/LineLength:
  Max: 120

Metrics/MethodLength:
  Max: 13

Metrics/BlockLength:
  Enabled: true
  Exclude:
    - '**/spec/**/*.rb'
    - '**/*.rake'

Metrics/PerceivedComplexity:
  Max: 8

Naming/AccessorMethodName:
  Enabled: true

Naming/ConstantName:
  Enabled: true

Naming/FileName:
  Enabled: true
  Exclude:
    - '**/Gemfile'

Naming/UncommunicativeMethodParamName:
  AllowedNames:
    - ex

RSpec/AlignLeftLetBrace:
  Enabled: true

RSpec/FilePath:
  Enabled: true
  Exclude:
    - 'spec/stub_requests/webmock_builder_spec.rb'

RSpec/NestedGroups:
  Max: 4
  Enabled: true

Style/FrozenStringLiteralComment:
  Enabled: true

Style/Documentation:
  Enabled: true

Style/GlobalVars:
  Enabled: true

Style/ModuleFunction:
  Enabled: false

Style/StringLiterals:
  Enabled: true
  EnforcedStyle: double_quotes
  ConsistentQuotesInMultiline: true

Style/StringLiteralsInInterpolation:
  Enabled: true

Style/SymbolArray:
  Enabled: true
  EnforcedStyle: brackets

Style/TernaryParentheses:
  Enabled: true
  EnforcedStyle: require_parentheses_when_complex
  AllowSafeAssignment: true

Style/TrailingCommaInArguments:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInArrayLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Style/TrailingCommaInHashLiteral:
  Enabled: true
  EnforcedStyleForMultiline: comma

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stub_requests-0.1.1 .rubocop.yml