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
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    20
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    20
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i es-commit-msg-validator

Weekly Downloads

11

Version

1.0.2

License

MIT

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • lileiseven
  • codeages-admin