2022-01-21 14:17:31 +00:00
|
|
|
# Don't complain when changing branches with different overcommit configurations.
|
|
|
|
verify_signatures: false
|
|
|
|
|
2021-07-06 12:42:00 +00:00
|
|
|
CommitMsg:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
EmptyMessage:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
PreCommit:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
RuboCop:
|
|
|
|
enabled: true
|
2021-11-15 15:58:19 +00:00
|
|
|
on_warn: fail
|
2021-07-06 12:42:00 +00:00
|
|
|
CoffeeLint:
|
2021-11-15 15:58:19 +00:00
|
|
|
# .coffeelint/rules/* not supported in YAML, specify all rules separately.
|
2022-05-23 10:27:43 +00:00
|
|
|
flags:
|
|
|
|
[
|
|
|
|
'--reporter=csv',
|
|
|
|
'--rules',
|
|
|
|
'./.coffeelint/rules/detect_translatable_string.coffee',
|
|
|
|
]
|
2021-07-06 12:42:00 +00:00
|
|
|
enabled: true
|
2021-11-15 15:58:19 +00:00
|
|
|
on_warn: fail
|
2022-05-23 10:27:43 +00:00
|
|
|
exclude: 'public/assets/chat/**/*'
|
2021-11-15 15:58:19 +00:00
|
|
|
CustomScript:
|
|
|
|
enabled: true
|
|
|
|
description: 'Check if translation catalog is up-to-date'
|
|
|
|
required_executable: 'rails'
|
|
|
|
flags: ['generate', 'translation_catalog', '--check']
|
2021-10-22 13:44:36 +00:00
|
|
|
Stylelint:
|
|
|
|
enabled: true
|
2021-07-06 12:42:00 +00:00
|
|
|
|
|
|
|
PostCheckout:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PostCommit:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PostMerge:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PostRewrite:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PrePush:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PreRebase:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
PrepareCommitMsg:
|
|
|
|
ALL:
|
|
|
|
enabled: false
|