Avhana/allscripts_api

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  Exclude:
    - "bin/*"
    - .pryrc
    - "spec/**/*"

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/FrozenStringLiteralComment:
  EnforcedStyle: always

Style/AccessorMethodName:
  Exclude:
    - "lib/allscripts_api/client.rb"

# Bumbing the max from 10 to 15 allows magic params to work nicely
Metrics/MethodLength:
  Max: 15
  Exclude:
    - "lib/allscripts_api/order.rb"
    - "lib/allscripts_api/documents/document.rb"
# Bumbing the max from 5 to 7 allows magic params to work nicely
Metrics/ParameterLists:
  Max: 7

Metrics/AbcSize:
  Exclude:
    - "lib/allscripts_api/order.rb"
    - "lib/allscripts_api/documents/document.rb"

Metrics/BlockLength:
  Exclude:
    -
    - "lib/allscripts_api/documents/document.rb"

Metrics/LineLength:
  Max: 90