@rocklab/commitlint-config

3.2.97 • Public • Published

Rocklab Commit Style Guide

Commit rules for JavaScript projects

Commitlint shareable configs

Requirements

Install commitlint and husky

npm install --save-dev @commitlint/cli
npm install husky --save-dev
npx husky install

Installation

npm install --save-dev @rocklab/commitlint-config
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1'

Usage

commitlint.config.js

// commitlint.config.js
module.exports = {
  extends: ['@rocklab'],
};

Package Sidebar

Install

npm i @rocklab/commitlint-config

Weekly Downloads

33

Version

3.2.97

License

MIT

Unpacked Size

6.24 kB

Total Files

8

Last publish

Collaborators

  • cstn