API 参考 / @142vip/commit-linter / gitCommitTypes
变量: gitCommitTypes
constgitCommitTypes:object
定义于: commit-linter/src/core/git-commit-type.ts:4
git commit type
类型声明
build
build:
object
build.description
description:
string='Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)'
build.emoji
emoji:
string='🛠'
build.title
title:
string='Builds'
chore
chore:
object
chore.description
description:
string='Other changes that don\'t modify src or test files'
chore.emoji
emoji:
string='♻️'
chore.title
title:
string='Chores'
ci
ci:
object
ci.description
description:
string='Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)'
ci.emoji
emoji:
string='⚙️'
ci.title
title:
string='Continuous Integrations'
docs
docs:
object
docs.description
description:
string='Documentation only changes'
docs.emoji
emoji:
string='📚'
docs.title
title:
string='Documentation'
feat
feat:
object
feat.description
description:
string='A new feature'
feat.emoji
emoji:
string='✨'
feat.title
title:
string='Features'
fix
fix:
object
fix.description
description:
string='A bug fix,A bug fix A bug fix'
fix.emoji
emoji:
string='🐛'
fix.title
title:
string='Bug Fixes'
hotfix
hotfix:
object
hotfix.description
description:
string='Hotfix'
hotfix.emoji
emoji:
string='🔥'
hotfix.title
title:
string='Hotfix'
perf
perf:
object
perf.description
description:
string='A code change that improves performance'
perf.emoji
emoji:
string='🚀'
perf.title
title:
string='Performance Improvements'
refactor
refactor:
object
refactor.description
description:
string='A code change that neither fixes a bug nor adds a feature'
refactor.emoji
emoji:
string='📦'
refactor.title
title:
string='Code Refactoring'
release
release:
object
release.description
description:
string='Release a new version'
release.emoji
emoji:
string='🎉'
release.title
title:
string='Releases'
revert
revert:
object
revert.description
description:
string='Reverts a previous commit'
revert.emoji
emoji:
string='🗑'
revert.title
title:
string='Reverts'
style
style:
object
style.description
description:
string='Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)'
style.emoji
emoji:
string='💎'
style.title
title:
string='Styles'
test
test:
object
test.description
description:
string='Adding missing tests or correcting existing tests'
test.emoji
emoji:
string='🚨'
test.title
title:
string='Tests'
