Skip to content

@142vip.commit linter.函数.commitLiner

mmdapl edited this page Oct 8, 2026 · 6 revisions

API 参考 / @142vip/commit-linter / commitLiner

函数: commitLiner()

commitLiner(params?, commit?): GitCommitLinter

定义于: commit-linter/src/core/git-commit-linter.ts:14

Git Commit信息校验

参数

params?

GitCommitLinterOptions

校验参数 可选,传则需要自定义校验

commit?

string

commit message 可选,不传则从git获取

返回

GitCommitLinter

Clone this wiki locally