@untile/commitlint-config

2.0.1 • Public • Published



@untile/commitlint-config

Untile-flavored commitlint config.

NPM version Untile js-config is released under the MIT license. Follow @untiledigital

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.

/@untile/commitlint-config/

    Package Sidebar

    Install

    npm i @untile/commitlint-config

    Weekly Downloads

    64

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • untile