es-commit-msg-validator

1.0.2 • Public • Published

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
}

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i es-commit-msg-validator

    Weekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    11.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • lileiseven
    • codeages-admin