.rubocop.yml
# Disable line-length check; it's too easy for the cure to be worse than the disease
Metrics/LineLength:
Enabled: False
# Disable problematic module documentation check (see https://github.com/bbatsov/rubocop/issues/947)
Style/Documentation:
Enabled: false
# Allow one line around class body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Allow one line around module body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundModuleBody:
Enabled: false
# Allow one line around block body (Style/EmptyLines will still disallow two or more)
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# Suppress complaints about post-2.0 syntax
AllCops:
TargetRubyVersion: 2.2
# Make our own decisions about readability
Style/TernaryParentheses:
Enabled: false