$ cnpm install @commitlint/config-patternplate
Lint your commits, patternplate-style
Shareable commitlint
config enforcing the patternplate commit convention. Use with @commitlint/cli and @commitlint/prompt-cli.
npm install --save-dev @commitlint/config-patternplate @commitlint/cli
echo "module.exports = {extends: ['@commitlint/config-patternplate']};" > commitlint.config.js
@commitlint/config-patternplate
extends the shareable angular config. Additionally these rules apply:
The following rules are considered problems for @commitlint/config-patterplate
and will yield a non-zero exit code when not met.
scope
is found in value
always
system
and all pattern ids present in patterns
are allowedConsult docs/rules for a list of available rules.
Copyright 2014 - 2016 © taobao.org |