1.1.0 • Published 4 years ago
@droplt/commitlint-config v1.1.0
Commitlint shareable config for droplt.
Install
$ yarn add @commitlint/cli @droplt/commitlint-config -D
Configuration
This shareable configuration extends the conventional commit
configuration:
See documentation for required installation and configuration steps.
Usage
The shareable config can be configured via the commitlint configuration file:
- A
.commitlintrc
file, written in JS or YML, with optional extensions:.js
/.yml
- A
commitlint.config.js
file that exports an object - A
commitlint
key in the project'spackage.json
file
// .commitlintrc.js
module.exports = {
extends: '@droplt'
}
// package.json
{
...
"commitlint": {
"extends": "@droplt"
}
}