conventional-changelog-lint

v2.1.1
Lint commit messages against a conventional-changelog preset and ruleset
conventional conventional-changelog log changelog lint check

start

npm run watch

build

cross-env BABEL_ENV=production babel source --out-dir distribution

watch

npm run build -- --watch

commit

git-cz

commitmsg

npm run build && node distribution/cli.js --edit

changelog

conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased

push

git push && git push --tags && hub release create "v$npm_package_version" --message="v$npm_package_version $(conventional-changelog -p angular)" && npm publish

prepretest

npm run lint

pretest

npm run deps

test

nyc ava -c=4

lint

xo

deps

npm run build && dependency-check . --missing && dependency-check . --extra --no-dev -i conventional-changelog-angular -i conventional-changelog-lint-config-angular

commitlint

node distribution/cli.js --from=HEAD~1

preversion

npm run build && npm test

release

npm version --no-git-tag-version $(conventional-recommended-bump -p angular)

version

npm run changelog && git add .

postversion

git commit -m "chore(release): v$npm_package_version $(conventional-changelog -p angular)" && git tag -a v$npm_package_version -m "$(conventional-changelog -p angular)"

travis:lint:commits

./scripts/lint:commits.sh
npm i conventional-changelog-lint

Metadata

  • MIT
  • >=4
  • Mario Nebl
  • released 7/10/2017

Downloads

Maintainers