mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
cd37d40fdc
+ improved overcommit checking
19 lines
552 B
YAML
19 lines
552 B
YAML
PreCommit:
|
|
RuboCop:
|
|
enabled: true
|
|
on_warn: fail # Treat all warnings as failures
|
|
|
|
TrailingWhitespace:
|
|
enabled: true
|
|
|
|
CommitMsg:
|
|
CapitalizedSubject:
|
|
enabled: false
|
|
|
|
MessageFormat:
|
|
enabled: true
|
|
pattern: ^(\((doc|bug|feat|security|dev|i18n|api|test|quality|ui|merge)\) [\w ]++(\n\n.+)?)|(Version (\d+\.?)+)|(Merge branch .*)
|
|
expected_pattern_message: (doc|bug|feat|security|dev|i18n|api|test|quality|ui|merge) title\n\ndescription
|
|
sample_message: (bug) no validation on date\n\nThe birthdate was not validated...
|
|
|