jackross/threequel

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
inherit_from:
  - .rubocop_todo.yml

AllCops:
  Exclude:
    - vendor/**
    - bin/**
    - config/environments/**

Documentation:
  # don't require classes to be documented
  Enabled: false

Encoding:
  # no need to always specify encoding
  Enabled: false

AlignParameters:
  # allow for multi-line methods to have normal indentation.
  # for example:
  #
  # Person.where(
  #   first_name: 'tom',
  #   last_name: 'foolery'
  # )
  EnforcedStyle: with_fixed_indentation

Style/AlignParameters:
  # allow for end of if to be aligned with a variable.
  # for example:
  #
  # foo = if a == b
  #   'bar'
  # else
  #   'baz'
  # end
  EnforcedStyle: with_fixed_indentation

Lint/EndAlignment:
  AlignWith: variable

ClassAndModuleChildren:
  # ok to use compact style when modules are predefined.
  # for example the following is fine so long as we're sure that 
  # module MDB has already been required/defined.
  #
  # class MDB::Person; end
  Enabled: false