@andrewmcodes/commitlint-config
Version:
Personal commitlint config for @andrewmcodes
42 lines (28 loc) • 1.61 kB
Markdown
# @andrewmcodes/commitlint-config

[](https://opensource.org/licenses/MIT)
[](https://github.com/andrewmcodes/commitlint-config/actions/workflows/ci.yml)
[](https://www.repostatus.org/#active)
[](https://conventionalcommits.org)
This is a shareable [commitlint](https://commitlint.js.org/#/) configuration, which includes a set of preferred styling rules that can be easily extended.
## Installation
```shell
# npm
npm install --save-dev @andrewmcodes/commitlint-config
# yarn
yarn add -D @andrewmcodes/commitlint-config
```
## Usage
Add the following to your `commitlint.config.js`:
```js
// commitlint.config.js
module.exports = {
extends: ["@coolcompany"], // => @coolcompany/commitlint-config
};
```
## Contributing
I'd love your help refining this package. Please don't hesitate to send a pull request.
### Code Style
Run `yarn format` before committing to ensure your changes comply with our coding style.
### Commit Messages
This project uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). Please make sure your commit messages follow this format.