UNPKG

es-commit-msg-validator

Version:

git commit message validator for edusoho

35 lines (25 loc) 590 B
# es-commit-msg-validator Validates that your commit message follows this format: ``` <type>: <subject> ``` Type | Comment ---|--- feat | new feature fix | bug fix test | unit test,FT,AT etc docs | documents refactor | code refactor By default, you also need to provide a redmine ticket number for 'feat' and 'fix' ``` <type>: #<redmine id> <subject> feat: #12345 add new api for creating user fix: #12344 fix login page js error ``` Disable redmine tikect check: create .vcmrc in the same folder where package.json located with content: ``` { "disableTicketCheck": true } ```