AllCops:
  TargetRubyVersion: 2.4
  Exclude:
    - 'Gemfile.lock'
    - pkg/**/*

Style/Copyright:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/SafeNavigation:
  Enabled: false

Style/SymbolArray:
  EnforcedStyle: brackets

Style/FrozenStringLiteralComment:
  Enabled: false

Layout/IndentHeredoc:
  Enabled: false

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Performance/RegexpMatch:
  Enabled: false

AllCops:
  TargetRubyVersion: 2.1
  Exclude:
    - 'Gemfile.lock'
    - pkg/**/*

Style/Copyright:
  Enabled: false

Style/Documentation:
  Enabled: false

Style/SafeNavigation:
  Enabled: false

Style/SymbolArray:
  EnforcedStyle: brackets

Style/FrozenStringLiteralComment:
  Enabled: false

Style/Dir:
  Enabled: false

Layout/IndentHeredoc:
  Enabled: false

Layout/MultilineMethodCallIndentation:
  EnforcedStyle: indented

Performance/RegexpMatch:
  Enabled: false

Disable Style/Dir Rubocop config and set Ruby for Rubocop to 2.1
Disable Style/Dir Rubocop config and set Ruby for Rubocop to 2.1

The latest Rubocop only works with Ruby language levels <=2.1.
If we wanted to support 1.9 we would have to use Rubocop v0.41.2.
I just disabled the Ruby >1.9 configs in .rubocop.yml in order to be
able to use a recent Rubocop version.
