gemfile: Gemfile

PreCommit:
  BundleCheck:
    enabled: true

  ExecutePermissions:
    enabled: true
    exclude:
      - 'bin/scss-lint'

  HardTabs:
    enabled: true

  RuboCop:
    enabled: true
    command: ['bundle', 'exec', 'rubocop']

  TrailingWhitespace:
    enabled: true

  TravisLint:
    enabled: true
    command: ['bundle', 'exec', 'travis']
    flags: ['lint', '--skip-version-check']

  YamlSyntax:
    enabled: true

# Run Overcommit within a Bundler context using this repo's Gemfile
gemfile: Gemfile

PreCommit:
  BundleCheck:
    enabled: true

  ExecutePermissions:
    enabled: true
    exclude:
      - 'bin/scss-lint'

  HardTabs:
    enabled: true

  RuboCop:
    enabled: true

  TrailingWhitespace:
    enabled: true

  TravisLint:
    enabled: true
    flags: ['lint', '--skip-version-check']

  YamlSyntax:
    enabled: true

Remove `bundle exec` command overrides
Remove `bundle exec` command overrides

These are no longer necessary now that we run Overcommit within a
Bundler context thanks to the `gemfile` option.
