AllCops:

  Exclude:
    - db/**/*
    - lib/**/*
    - tmp/**/*

  TargetRubyVersion: 2.0

Rails:
  Enabled: true

Style:
  Enabled: false

Metrics:
  Enabled: false

# TODO: Resolve the following RuboCop violations

# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasAndBelongsToMany:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 2
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
  Exclude:
    - 'config/unicorn.rb'

# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'bin/spring'

# Offense count: 2
Lint/HandleExceptions:
  Exclude:
    - 'bin/rails'
    - 'bin/rake'

AllCops:

  Exclude:
    - db/**/*
    - lib/**/*
    - tmp/**/*
    - vendor/**/*

  TargetRubyVersion: 2.0

Rails:
  Enabled: true

Style:
  Enabled: false

Metrics:
  Enabled: false

# TODO: Resolve the following RuboCop violations

# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasAndBelongsToMany:
  Exclude:
    - 'app/models/user.rb'

# Offense count: 2
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
  Exclude:
    - 'config/unicorn.rb'

# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'bin/spring'

# Offense count: 2
Lint/HandleExceptions:
  Exclude:
    - 'bin/rails'
    - 'bin/rake'

Exclude 'vendor' when building on Travis
RuboCop: Exclude 'vendor' when building on Travis
