GeorgeKaraszi/active_record_extended

View on GitHub
rubocop/rubocop-layout.yml

Summary

Maintainability
Test Coverage
#################
#  Layout Cops  #
#################

# Align ends correctly.
Layout/EndAlignment:
  EnforcedStyleAlignWith: variable

Layout/HashAlignment:
  EnforcedColonStyle: table
  EnforcedHashRocketStyle: table

Layout/MultilineHashKeyLineBreaks:
  Enabled: true

Layout/FirstHashElementLineBreak:
  Enabled: true

Layout/FirstMethodArgumentLineBreak:
  Enabled: true

Layout/LineLength:
  Max: 150
  Exclude:
    - examples/**/*
    - spec/**/*

Layout/EmptyLinesAroundAttributeAccessor:
  Enabled: true
  AllowAliasSyntax: true
  AllowedMethods: ['delegate', 'alias_method']

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Layout/BeginEndAlignment:
  Enabled: true