@superbet/commitlint-config

1.0.0 • Public • Published

@superbet/commitlint-config logo

Superbet Shared Commitlint Config

Commitlint is a commit message linter.

What it does?

Allowed commits

docs: fixed typo in readme
feat: infantry units move 10% faster [ABC-123]

Disallowed commits

fix: ships no longer count as infantry

Add to a Project

Install Configuration

npm i @commitlint/{config-conventional,cli} @superbet/commitlint-config --save-dev

Add to Commitlint Config

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

Using .commitlintrc.js

Add to Husky

npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'

Suggestions?

Create a discussion on GitHub or learn how to make a contribution.

Readme

Keywords

none

Package Sidebar

Install

npm i @superbet/commitlint-config

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.02 kB

Total Files

4

Last publish

Collaborators

  • danielkov