mattbrictson/nextgen

View on GitHub
.overcommit.yml

Summary

Maintainability
Test Coverage
# Overcommit hooks run automatically on certain git operations, like "git commit".
# For a complete list of options that you can use to customize hooks, see:
# https://github.com/sds/overcommit

gemfile: false
verify_signatures: false

PreCommit:
  ALL:
    exclude:
    - "examples/**/*"

  BundleCheck:
    enabled: true

  FixMe:
    enabled: true
    keywords: ["FIXME"]
    exclude:
      - .overcommit.yml
      - template/.overcommit.yml.tt
      - "examples/**/*"

  LocalPathsInGemfile:
    enabled: true

  RuboCop:
    enabled: true
    required_executable: bundle
    command: ["bundle", "exec", "rubocop"]
    on_warn: fail

  YamlSyntax:
    enabled: true

PostCheckout:
  ALL:
    quiet: true