.overcommit.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. EsLint:
  33. required_executable: 'yarn'
  34. enabled: true
  35. command: ['yarn', 'lint']
  36. PostCheckout:
  37. ALL:
  38. enabled: false
  39. PostCommit:
  40. ALL:
  41. enabled: false
  42. PostMerge:
  43. ALL:
  44. enabled: false
  45. PostRewrite:
  46. ALL:
  47. enabled: false
  48. PrePush:
  49. ALL:
  50. enabled: false
  51. PreRebase:
  52. ALL:
  53. enabled: false
  54. PrepareCommitMsg:
  55. ALL:
  56. enabled: false