1.0.0 • Published 2 years ago

@actinc/commitlint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

id: commitlint-config

sidebar_position: 4

@actinc/commitlint-config

This is the standard configuration for the commitlint tool. This works in conjunction with a git commit hook tool like husky.

The configuration is based on conventional-commits with ACT specific rules configured.

Installation

npm install --save-dev @actinc/commitlint-config

Configuration

The easiest way to register this configuration is by adding a setting to the package.json file.

// package.json
{
  // ... other settings
  "commitlint": {"extends": ["@actinc"]},
}

Alternatively, you can install the configuration be creating a commitlint configuration file in the root of your source code.

echo "module.exports = {extends: ['@actinc']}" > commitlint.config.js
1.0.0

2 years ago