.overcommit.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # Use this file to configure the Overcommit hooks you wish to use. This will
  2. # extend the default configuration defined in:
  3. # https://github.com/brigade/overcommit/blob/master/config/default.yml
  4. #
  5. # At the topmost level of this YAML file is a key representing type of hook
  6. # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
  7. # customize each hook, such as whether to only run it on certain files (via
  8. # `include`), whether to only display output if it fails (via `quiet`), etc.
  9. #
  10. # For a complete list of hooks, see:
  11. # https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
  12. #
  13. # For a complete list of options that you can use to customize hooks, see:
  14. # https://github.com/brigade/overcommit#configuration
  15. #
  16. # Uncomment the following lines to make the configuration take effect.
  17. # PreCommit:
  18. # RuboCop:
  19. # enabled: true
  20. # on_warn: fail # Treat all warnings as failures
  21. #
  22. # TrailingWhitespace:
  23. # enabled: true
  24. # exclude:
  25. # - '**/db/structure.sql' # Ignore trailing whitespace in generated files
  26. #
  27. #PostCheckout:
  28. # ALL: # Special hook name that customizes all hooks of this type
  29. # quiet: true # Change all post-checkout hooks to only display output on failure
  30. #
  31. # IndexTags:
  32. # enabled: true # Generate a tags file with `ctags` each time HEAD changes