yujinakayama/astrolabe

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
Metrics/BlockLength:
  Exclude:
    - 'benchmark/**/*'
    - 'spec/**/*'

Metrics/ClassLength:
  Max: 150

Metrics/LineLength:
  Max: 100

Naming/HeredocDelimiterNaming:
  Enabled: false

Layout/AlignHash:
  # Alignment of entries using hash rocket as separator. Valid values are:
  #
  # key - left alignment of keys
  #   'a' => 2
  #   'bb' => 3
  # separator - alignment of hash rockets, keys are right aligned
  #    'a' => 2
  #   'bb' => 3
  # table - left alignment of keys, hash rockets, and values
  #   'a'  => 2
  #   'bb' => 3
  EnforcedHashRocketStyle: table
  # Alignment of entries using colon as separator. Valid values are:
  #
  # key - left alignment of keys
  #   a: 0
  #   bb: 1
  # separator - alignment of colons, keys are right aligned
  #    a: 0
  #   bb: 1
  # table - left alignment of keys and values
  #   a:  0
  #   bb: 1
  EnforcedColonStyle: separator

Style/RegexpLiteral:
  Exclude:
    - Guardfile