Skip to content

Instantly share code, notes, and snippets.

@alexcu
Last active March 15, 2016 00:58
Show Gist options
  • Save alexcu/6e05d64d04b32bb42b4d to your computer and use it in GitHub Desktop.
Save alexcu/6e05d64d04b32bb42b4d to your computer and use it in GitHub Desktop.
Doubtfire Overcommit Config
#
# Standard Doubtfire Overcommit Config
# See https://gist.github.com/alexcu/6e05d64d04b32bb42b4d
#
CommitMsg:
ALL:
on_warn: fail
EmptyMessage:
enabled: true
MessageFormat:
enabled: true
pattern: '((NEW|FIX|ENHANCE|LOOKS|SPEED|QUALITY|DOC|CONFIG|TEST): [A-Z].+)|(Merge .+)'
expected_pattern_message: '<NEW|FIX|ENHANCE|LOOKS|SPEED|QUALITY|DOC|CONFIG|TEST>: <Message Subject>'
sample_message: 'CONFIG: Add overcommit to project'
TraillingPeriod:
enabled: true
TextWidth:
enabled: true
PreCommit:
AuthorEmail:
enabled: true
on_warn: fail
AuthorName:
enabled: true
on_warn: fail
HardTabs:
enabled: true
TrailingWhitespace:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment