2.0.1 • Published 1 year ago

@untile/commitlint-config v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Installation

With npm:

npm install @commitlint/cli @untile/commitlint-config --save-dev

Or using yarn:

yarn add @commitlint/cli @untile/commitlint-config -D

Setup

Create an .commitlintrc.js file with the following:

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

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.