inherit_from: .rubocop_todo.yml

AllCops:
  Exclude:
    - spec/dummy/**/*
    - tmp/**/*
    - vendor/**/*
    - bin/*
  TargetRubyVersion: 2.3

# Style cops
Style/ExtraSpacing:
  Enabled: false

Style/AutoResourceCleanup:
  Enabled: true

Style/CollectionMethods:
  Enabled: true

Style/Send:
  Enabled: true

Style/StringMethods:
  Enabled: true

Style/SymbolArray:
  Enabled: true

Style/Documentation:
  Exclude:
    - spec/**/*
    - app/**/*
    - db/migrate/*

Style/BlockDelimiters:
  Exclude:
    - spec/**/*

Style/SpecialGlobalVars:
  EnforcedStyle: use_english_names

Style/HasAndBelongsToMany:
  Enabled: false

# Metrics cops
Metrics/LineLength:
  AllowURI: true
  IgnoreCopDirectives: true

Metrics/BlockLength:
  Exclude:
    - spec/**/*

inherit_from: .rubocop_todo.yml

AllCops:
  Exclude:
    - spec/dummy/**/*
    - tmp/**/*
    - vendor/**/*
    - bin/*
  TargetRubyVersion: 2.3

# Style cops
Style/ExtraSpacing:
  Enabled: false

Style/AutoResourceCleanup:
  Enabled: true

Style/CollectionMethods:
  Enabled: true

Style/Send:
  Enabled: true

Style/StringMethods:
  Enabled: true

Style/SymbolArray:
  Enabled: true

Style/Documentation:
  Exclude:
    - spec/**/*
    - app/**/*
    - db/migrate/*

Style/BlockDelimiters:
  Exclude:
    - spec/**/*

Style/SpecialGlobalVars:
  EnforcedStyle: use_english_names

# Metrics cops
Metrics/LineLength:
  AllowURI: true
  IgnoreCopDirectives: true

Metrics/BlockLength:
  Exclude:
    - spec/**/*

# Rails-specific cops
Rails/HasAndBelongsToMany:
  Enabled: false

Fix wrong namespace for the HABTM cop
Fix wrong namespace for the HABTM cop [ci skip]
