Sha256: 2b86ed8eed7527dfe5e687e4a50201e78466f189d888de44293c58c0a7e43508

Contents?: true

Size: 1.47 KB

Versions: 42

Compression:

Stored size: 1.47 KB

Contents

AllCops:
  TargetRubyVersion: 2.3

Layout/HashAlignment:
  EnforcedColonStyle: key
  EnforcedHashRocketStyle: key

Layout/LineLength:
  Max: 120

Metrics/BlockLength:
  Exclude:
    - Rakefile
    - erp_integration.gemspec
    # Reasons to disable for the specs:
    # 1. Specs tend to include big blocks (e.g. `RSpec.describe` or `it`).
    # 2. `mejuri-web` also has disabled the `Metrics/BlockLength` for specs.
    - spec/**/*
  ExcludedMethods: ['class_eval']

Lint/AmbiguousBlockAssociation:
  Enabled: true

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

Style/Documentation:
  Enabled: false

Style/HashEachMethods:
  Enabled: true

Style/ModuleFunction:
  Enabled: false

Style/NumericPredicate:
  Enabled: true
  EnforcedStyle: comparison

Style/RedundantSelf:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

Layout/CaseIndentation:
  Enabled: true
  EnforcedStyle: case
  IndentOneStep: true

Style/GuardClause:
  Enabled: true

# https://github.com/rubocop-hq/ruby-style-guide/issues/522
Style/BlockDelimiters:
  EnforcedStyle: braces_for_chaining

Metrics/MethodLength:
  Max: 15
  Enabled: true

Metrics/AbcSize:
  Max: 20
  Enabled: true

Style/FrozenStringLiteralComment:
  Enabled: true

Metrics/CyclomaticComplexity:
  Enabled: true

Metrics/PerceivedComplexity:
  Enabled: true

Naming/PredicateName:
  Enabled: true

Metrics/ClassLength:
  Enabled: true

Style/AndOr:
  EnforcedStyle: conditionals

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
erp_integration-0.34.0 .rubocop.yml
erp_integration-0.33.0 .rubocop.yml
erp_integration-0.32.0 .rubocop.yml
erp_integration-0.31.0 .rubocop.yml
erp_integration-0.30.0 .rubocop.yml
erp_integration-0.29.0 .rubocop.yml
erp_integration-0.28.1 .rubocop.yml
erp_integration-0.28.0 .rubocop.yml
erp_integration-0.27.0 .rubocop.yml
erp_integration-0.26.0 .rubocop.yml
erp_integration-0.25.0 .rubocop.yml
erp_integration-0.24.0 .rubocop.yml
erp_integration-0.23.0 .rubocop.yml
erp_integration-0.22.0 .rubocop.yml
erp_integration-0.21.0 .rubocop.yml
erp_integration-0.20.0 .rubocop.yml
erp_integration-0.19.0 .rubocop.yml
erp_integration-0.18.0 .rubocop.yml
erp_integration-0.17.0 .rubocop.yml
erp_integration-0.16.0 .rubocop.yml