require: rubocop-rspec

AllCops:
  DisplayCopNames: true
  DisplayStyleGuide: true
  Include:
    - "**/Rakefile"
    - "**/config.ru"
  Exclude:
    - "db/**/*"
    - "config/**/*"
    - "script/**/*"
  TargetRubyVersion: 2.3
  # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
  # to ignore them, so only the ones explicitly set in this file are enabled.
  DisabledByDefault: true

Layout/IndentationConsistency:
  EnforcedStyle: rails

Layout/IndentationWidth:
  Enabled: true

Layout/EndOfLine:
  EnforcedStyle: lf

Layout/TrailingBlankLines:
  Enabled: true

Layout/TrailingWhitespace:
  Enabled: true

Lint/LiteralAsCondition:
  Enabled: true

Lint/UselessAssignment:
  Enabled: true

Metrics/LineLength:
  Max: 100

RSpec/NotToNot:
  Enabled: true

Style/StringLiterals:
  EnforcedStyle: double_quotes

require: rubocop-rspec

AllCops:
  DisplayCopNames: true
  DisplayStyleGuide: true
  Include:
    - "**/Rakefile"
    - "**/config.ru"
  Exclude:
    - "db/migrate/**/*"
    - "db/schema.rb"
  TargetRubyVersion: 2.3
  # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
  # to ignore them, so only the ones explicitly set in this file are enabled.
  DisabledByDefault: true

Layout/IndentationConsistency:
  EnforcedStyle: rails

Layout/IndentationWidth:
  Enabled: true

Layout/EndOfLine:
  EnforcedStyle: lf

Layout/TrailingBlankLines:
  Enabled: true

Layout/TrailingWhitespace:
  Enabled: true

Lint/LiteralAsCondition:
  Enabled: true

Lint/UselessAssignment:
  Enabled: true

Metrics/LineLength:
  Max: 100

RSpec/NotToNot:
  Enabled: true

Style/StringLiterals:
  EnforcedStyle: double_quotes

Enable rubocop rules in config and seed files
Enable rubocop rules in config and seed files

We were unintentionally ignoring them while trying to ignore just the
schema file, migration files, and initializers generated with `rails
generate`
