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.15.0 .rubocop.yml
erp_integration-0.14.0 .rubocop.yml
erp_integration-0.13.0 .rubocop.yml
erp_integration-0.12.0 .rubocop.yml
erp_integration-0.11.0 .rubocop.yml
erp_integration-0.10.0 .rubocop.yml
erp_integration-0.9.0 .rubocop.yml
erp_integration-0.8.0 .rubocop.yml
erp_integration-0.7.0 .rubocop.yml
erp_integration-0.6.0 .rubocop.yml
erp_integration-0.5.5 .rubocop.yml
erp_integration-0.5.4 .rubocop.yml
erp_integration-0.5.3 .rubocop.yml
erp_integration-0.5.2 .rubocop.yml
erp_integration-0.5.1 .rubocop.yml
erp_integration-0.5.0 .rubocop.yml
erp_integration-0.4.0 .rubocop.yml
erp_integration-0.3.3 .rubocop.yml
erp_integration-0.3.2 .rubocop.yml
erp_integration-0.3.1 .rubocop.yml