Sha256: 728054a4b1286f876eb9c34655818b17ffd7719771f525e5c3664705fc53dee4

Contents?: true

Size: 1.52 KB

Versions: 24

Compression:

Stored size: 1.52 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:
  Exclude:
    - lib/erp_integration/configuration.rb
  Enabled: true

Style/AndOr:
  EnforcedStyle: conditionals

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
erp_integration-0.61.0 .rubocop.yml
erp_integration-0.58.0 .rubocop.yml
erp_integration-0.60.0 .rubocop.yml
erp_integration-0.59.0 .rubocop.yml
erp_integration-0.57.0 .rubocop.yml
erp_integration-0.56.0 .rubocop.yml
erp_integration-0.55.0 .rubocop.yml
erp_integration-0.54.0 .rubocop.yml
erp_integration-0.53.1 .rubocop.yml
erp_integration-0.53.0 .rubocop.yml
erp_integration-0.52.0 .rubocop.yml
erp_integration-0.50.0 .rubocop.yml
erp_integration-0.49.0 .rubocop.yml
erp_integration-0.48.0 .rubocop.yml
erp_integration-0.43.0 .rubocop.yml
erp_integration-0.42.0 .rubocop.yml
erp_integration-0.41.0 .rubocop.yml
erp_integration-0.40.0 .rubocop.yml
erp_integration-0.39.0 .rubocop.yml
erp_integration-0.38.0 .rubocop.yml