.overcommit.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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:
  17. [
  18. '--reporter=csv',
  19. '--rules',
  20. './.coffeelint/rules/detect_translatable_string.coffee',
  21. ]
  22. enabled: true
  23. on_warn: fail
  24. exclude: 'public/assets/chat/**/*'
  25. CustomScript:
  26. enabled: true
  27. description: 'Check if translation catalog is up-to-date'
  28. required_executable: 'rails'
  29. flags: ['generate', 'translation_catalog', '--check']
  30. Stylelint:
  31. enabled: true
  32. PostCheckout:
  33. ALL:
  34. enabled: false
  35. PostCommit:
  36. ALL:
  37. enabled: false
  38. PostMerge:
  39. ALL:
  40. enabled: false
  41. PostRewrite:
  42. ALL:
  43. enabled: false
  44. PrePush:
  45. ALL:
  46. enabled: false
  47. PreRebase:
  48. ALL:
  49. enabled: false
  50. PrepareCommitMsg:
  51. ALL:
  52. enabled: false