.rubocop.yml 549 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
AllCops:
  Exclude:
    - bundle/vendors/**/*

Documentation:
  Enabled: false

Lint/UselessComparison:
  Enabled: false

Metrics/ClassLength:
  Max: 150

# Work in progress
Metrics/LineLength:
  Max: 183

# Work in progress
Metrics/MethodLength:
  Max: 24

# Work in progress
Metrics/PerceivedComplexity:
  Max: 8

Style/NumericLiterals:
  MinDigits: 10

Style/StringLiterals:
  Enabled: false

Style/Encoding:
  EnforcedStyle: when_needed

Style/BracesAroundHashParameters:
  EnforcedStyle: braces

Metrics/BlockLength:
  Exclude:
    - spec/**/*