.overcommit.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # Don't complain when changing branches with different overcommit configurations.
  2. verify_signatures: false
  3. CommitMsg:
  4. ALL:
  5. enabled: false
  6. EmptyMessage:
  7. enabled: true
  8. PreCommit:
  9. ALL:
  10. enabled: false
  11. RuboCop:
  12. enabled: true
  13. on_warn: fail
  14. CoffeeLint:
  15. # .coffeelint/rules/* not supported in YAML, specify all rules separately.
  16. flags: ['--reporter=csv', '--rules', './.coffeelint/rules/detect_translatable_string.coffee']
  17. enabled: true
  18. on_warn: fail
  19. exclude: public/assets/chat/**/*
  20. CustomScript:
  21. enabled: true
  22. description: 'Check if translation catalog is up-to-date'
  23. required_executable: 'rails'
  24. flags: ['generate', 'translation_catalog', '--check']
  25. Stylelint:
  26. enabled: true
  27. EsLint:
  28. required_executable: 'yarn'
  29. enabled: true
  30. command: ['yarn', 'lint']
  31. PostCheckout:
  32. ALL:
  33. enabled: false
  34. PostCommit:
  35. ALL:
  36. enabled: false
  37. PostMerge:
  38. ALL:
  39. enabled: false
  40. PostRewrite:
  41. ALL:
  42. enabled: false
  43. PrePush:
  44. ALL:
  45. enabled: false
  46. PreRebase:
  47. ALL:
  48. enabled: false
  49. PrepareCommitMsg:
  50. ALL:
  51. enabled: false