openSUSE/trollolo

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from: .rubocop_todo.yml

# This probably rather should be EnforcedStyle: brackets
Style/WordArray:
  Enabled: false

#################### Metrics ###############################

Metrics/AbcSize:
  Enabled: false

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

Metrics/ClassLength:
  Enabled: false

Metrics/CyclomaticComplexity:
  Enabled: false

Metrics/LineLength:
  Max: 160

# TODO: Down it to 30, 3 times more than Rubocop default
Metrics/MethodLength:
  Max: 35
  Exclude:
    - 'spec/unit/support/webmocks.rb'

Metrics/PerceivedComplexity:
  Enabled: false