1.0.0 • Published 2 years ago

@untile/commitlint-config-untile v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

commitlint-config-untile

Untile-flavored commitlint config.

Installation

$ yarn add @commitlint/cli @untile/commitlint-config-untile --dev

Usage

Create an .commitlintrc.js file with the following:

module.exports = {
  extends: ['@untile/commitlint-config-untile']
};

Rules

  • Commit header should start to: Add|Bump|Fix|Improve|Release|Remove|Update.
  • Commit header must not be longer than 52 characters.
  • Commit header must have more than 1 word.
  • Commit body should be in sentence-case.

NOTE Follow the commitlint.js.org guide to see how to finish the configuration, using for example husky.

Releases

Be sure to have configured NPM_TOKEN in your globals.

npm version [<new version> | major | minor | patch] -m "Release %s"
git push origin master && git push --tags