AllCops:
  Exclude:
    # This file is autogenerated by Rails, we shouldn't worry about changing its
    # format.
    - 'db/schema.rb'
    # Some people may choose to install gems into vendor/bundle/, which will
    # break Rubocop. Ignore it.
    - 'vendor/**/*'
    - 'bundler_cache/**/*'

# Disable method length checks
Metrics/MethodLength:
  Enabled: false

# Disable block length checks
Metrics/BlockLength:
  Enabled: false

# Disable Assignment Branch Condition size check
Metrics/AbcSize:
  Enabled: false

# Disable check for methods requiring more than 5 parameters.
Metrics/ParameterLists:
  Enabled: false

# Don't worry about having top-level class documentation comments for every
# class. It'd be a nuisance to do this on all of the generated Rails classes.
Documentation:
  Enabled: false

# Run those Rails cops!
Rails:
  Enabled: true

# Disable preference for has_many :through over has_and_belongs_to_many. They're
# different types of relationships and Rails attaches different helper methods
# for each, not sure why Rubocop has a preference for this by default.
Rails/HasAndBelongsToMany:
  Enabled: false

AllCops:
  TargetRubyVersion: 2.3
  Exclude:
    # This file is autogenerated by Rails, we shouldn't worry about changing its
    # format.
    - 'db/schema.rb'
    # Some people may choose to install gems into vendor/bundle/, which will
    # break Rubocop. Ignore it.
    - 'vendor/**/*'
    - 'bundler_cache/**/*'

# Disable method length checks
Metrics/MethodLength:
  Enabled: false

# Disable block length checks
Metrics/BlockLength:
  Enabled: false

# Disable Assignment Branch Condition size check
Metrics/AbcSize:
  Enabled: false

# Disable check for methods requiring more than 5 parameters.
Metrics/ParameterLists:
  Enabled: false

# Don't worry about having top-level class documentation comments for every
# class. It'd be a nuisance to do this on all of the generated Rails classes.
Documentation:
  Enabled: false

# Run those Rails cops!
Rails:
  Enabled: true

# Disable preference for has_many :through over has_and_belongs_to_many. They're
# different types of relationships and Rails attaches different helper methods
# for each, not sure why Rubocop has a preference for this by default.
Rails/HasAndBelongsToMany:
  Enabled: false

Make Rubocop target Ruby 2.3
Make Rubocop target Ruby 2.3
