es-commit-msg-validator
Version:
git commit message validator for edusoho
35 lines (25 loc) • 590 B
Markdown
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>:
feat:
fix:
```
Disable redmine tikect check:
create .vcmrc in the same folder where package.json located with content:
```
{
"disableTicketCheck": true
}
```