erichaydel/errdo

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
AllCops:
  DisplayCopNames: true
  Exclude:
    - '**/schema.rb'
    - '**/migrate/**'
    - '**/dummy/bin/**'
    - 'test/tmp/**/*'
    - lib/generators/active_record/templates/migration.rb

Metrics/CyclomaticComplexity:
  Max: 10
Metrics/MethodLength:
  Max: 20
Metrics/LineLength:
  Max: 120
Metrics/AbcSize:
  Max: 25

Style/EmptyLinesAroundClassBody:
  EnforcedStyle: no_empty_lines
Style/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines
Style/EmptyLinesAroundModuleBody:
  EnforcedStyle: no_empty_lines

Style/ExtraSpacing:
  ForceEqualSignAlignment: false

Style/Documentation:
  Enabled: false
Style/RedundantReturn:
  Enabled: false
Style/StringLiterals:
  Enabled: false
Style/DotPosition:
  EnforcedStyle: trailing
Style/NumericLiterals:
  Enabled: false
Style/GuardClause:
  Enabled: false