Sha256: 13d0be83b2f664679aad83b49504cc7731e17d0102ea7269d452a8cb1a6c3210

Contents?: true

Size: 1.61 KB

Versions: 2

Compression:

Stored size: 1.61 KB

Contents

inherit_gem:
  rubocop-rails_config:
    - config/rails.yml
require: rubocop-rspec
AllCops:
  TargetRubyVersion: 2.5
  Exclude:
    - tmp/**/*

Layout/IndentHash:
  EnforcedStyle: consistent
Layout/AccessModifierIndentation:
  EnforcedStyle: outdent
Layout/EmptyLinesAroundAccessModifier:
  Enabled: true
Layout/AlignArray:
  Enabled: true
Layout/AlignHash:
  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

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

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

Rails/InverseOf:
  Enabled: true

RSpec/MessageSpies:
  EnforcedStyle: receive

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
usps_flags-0.4.1 .rubocop.yml
usps_flags-0.4.0 .rubocop.yml