Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

es-commit-msg-validator

codeages18MIT1.0.2

git commit message validator for edusoho

githook, commit, message, git, edusoho

readme

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
}