62 lines
1 KiB
YAML
62 lines
1 KiB
YAML
# Don't complain when changing branches with different overcommit configurations.
|
|
verify_signatures: false
|
|
|
|
CommitMsg:
|
|
ALL:
|
|
enabled: false
|
|
EmptyMessage:
|
|
enabled: true
|
|
|
|
PreCommit:
|
|
ALL:
|
|
enabled: false
|
|
RuboCop:
|
|
enabled: true
|
|
on_warn: fail
|
|
CoffeeLint:
|
|
# .coffeelint/rules/* not supported in YAML, specify all rules separately.
|
|
flags:
|
|
[
|
|
'--reporter=csv',
|
|
'--rules',
|
|
'./.coffeelint/rules/detect_translatable_string.coffee',
|
|
]
|
|
enabled: true
|
|
on_warn: fail
|
|
exclude: 'public/assets/chat/**/*'
|
|
CustomScript:
|
|
enabled: true
|
|
description: 'Check if translation catalog is up-to-date'
|
|
required_executable: 'rails'
|
|
flags: ['generate', 'translation_catalog', '--check']
|
|
Stylelint:
|
|
enabled: true
|
|
|
|
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
|