AllCops:
  # Suppress complaints about post-2.0 syntax
  TargetRubyVersion: 2.2
  # Exclude old source
  Exclude:
    - 'lib.old/**/*'
    - 'spec.old/**/*'

Style/ClassAndModuleChildren:
  Exclude:
    - 'migrate_*.rb'

# 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)
Style/EmptyLinesAroundClassBody:
  Enabled: false

# Allow one line around module body (Style/EmptyLines will still disallow two or more)
Style/EmptyLinesAroundModuleBody:
  Enabled: false

# Allow one line around block body (Style/EmptyLines will still disallow two or more)
Style/EmptyLinesAroundBlockBody:
  Enabled: false

# Suppress complaints about binaries not being named .rb
Style/FileName:
  Exclude:
   - 'bin/*'

AllCops:
  # Suppress complaints about post-2.0 syntax
  TargetRubyVersion: 2.2
  Exclude:
    - 'lib.old/**/*'
    - 'spec.old/**/*'
    - 'vendor/**/*'

Style/ClassAndModuleChildren:
  Exclude:
    - 'migrate_*.rb'

# 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)
Style/EmptyLinesAroundClassBody:
  Enabled: false

# Allow one line around module body (Style/EmptyLines will still disallow two or more)
Style/EmptyLinesAroundModuleBody:
  Enabled: false

# Allow one line around block body (Style/EmptyLines will still disallow two or more)
Style/EmptyLinesAroundBlockBody:
  Enabled: false

# Suppress complaints about binaries not being named .rb
Style/FileName:
  Exclude:
   - 'bin/*'

Stop Rubocop from trying to check bundled libraries in Travis, hopefully
Stop Rubocop from trying to check bundled libraries in Travis, hopefully
