Sha256: 7f3aff30cf0076be1fcf6b584cc8cfc164e71b3efb0a4527869d9fe10c246c18

Contents?: true

Size: 1.9 KB

Versions: 9

Compression:

Stored size: 1.9 KB

Contents

require: rubocop-rspec
AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - lib/output/*
    - tmp/**/*
    - vendor/**/*

Layout/FirstHashElementIndentation:
  EnforcedStyle: consistent
Layout/AccessModifierIndentation:
  EnforcedStyle: outdent
Layout/EmptyLinesAroundAccessModifier:
  Enabled: true
Layout/ArrayAlignment:
  Enabled: true
Layout/HashAlignment:
  Enabled: true
Layout/EmptyLineAfterGuardClause:
  Enabled: true
Layout/SpaceInsideBlockBraces:
  EnforcedStyle: space
  EnforcedStyleForEmptyBraces: no_space
Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: space
  EnforcedStyleForEmptyBraces: no_space
Layout/SpaceInsideArrayLiteralBrackets:
  EnforcedStyle: no_space
Layout/EndAlignment:
  EnforcedStyleAlignWith: start_of_line

Lint/UnusedMethodArgument:
  Enabled: true
Lint/UselessAssignment:
  Enabled: true

Metrics/BlockLength:
  Exclude:
    - 'spec/**/*.rb'
Metrics/LineLength:
  Max: 120
Metrics/MethodLength:
  Enabled: true
Metrics/ClassLength:
  Enabled: true
  Max: 125
Metrics/ParameterLists:
  Enabled: true
Metrics/CyclomaticComplexity:
  Enabled: true
Metrics/AbcSize:
  Enabled: true

Naming/MethodParameterName:
  Enabled: false
Naming/AccessorMethodName:
  Enabled: false

RSpec/MessageSpies:
  EnforcedStyle: receive
RSpec/InstanceVariable:
  Enabled: false
RSpec/NestedGroups:
  Enabled: false
RSpec/ExampleLength:
  Enabled: false
RSpec/LeakyConstantDeclaration:
  Enabled: false

Style/Documentation:
  Enabled: false
Style/FrozenStringLiteralComment:
  Enabled: true
Style/NumericLiterals:
  Enabled: true
Style/StringLiterals:
  EnforcedStyle: single_quotes
Style/AndOr:
  Enabled: true
Style/ClassCheck:
  Enabled: true
Style/GuardClause:
  Enabled: true
Style/ClassAndModuleChildren:
  EnforcedStyle: nested
Style/GlobalVars:
  Exclude:
    - 'spec/**/*.rb'
Style/ParallelAssignment:
  Enabled: false

Security/Eval:
  Enabled: true
Security/JSONLoad:
  Enabled: true
Security/YAMLLoad:
  Enabled: true

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
usps_flags-0.6.4 .rubocop.yml
usps_flags-0.6.3 .rubocop.yml
usps_flags-0.6.2 .rubocop.yml
usps_flags-0.6.1 .rubocop.yml
usps_flags-0.6.0 .rubocop.yml
usps_flags-0.5.9 .rubocop.yml
usps_flags-0.5.8 .rubocop.yml
usps_flags-0.5.7 .rubocop.yml
usps_flags-0.5.6 .rubocop.yml