@untile/commitlint-config

3.1.1 • Public • Published



@untile/commitlint-config

Untile-flavored commitlint config.

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

Requirements

  • Node.js >= 20

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.cjs file with the following:

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

Rules

  • Commit header should start to: Add|Bump|Disable|Enable|Fix|Improve|Migrate|Move|Release|Remove|Replace|Revert|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

    52

    Version

    3.1.1

    License

    MIT

    Unpacked Size

    16 kB

    Total Files

    8

    Last publish

    Collaborators

    • untile