Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armour/commitlint-config-armour
👀 My shareable config for commitlint
https://github.com/armour/commitlint-config-armour
commitlint commitlint-config jarvis
Last synced: 15 days ago
JSON representation
👀 My shareable config for commitlint
- Host: GitHub
- URL: https://github.com/armour/commitlint-config-armour
- Owner: Armour
- License: mit
- Created: 2018-07-07T07:51:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T22:36:32.000Z (almost 3 years ago)
- Last Synced: 2024-12-09T22:39:30.251Z (24 days ago)
- Topics: commitlint, commitlint-config, jarvis
- Language: JavaScript
- Homepage:
- Size: 232 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# commitlint-config-armour
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![npm](https://img.shields.io/npm/v/commitlint-config-armour.svg)](https://www.npmjs.com/package/commitlint-config-armour)
[![Template from jarvis](https://img.shields.io/badge/Hi-Jarvis-ff69b4.svg)](https://github.com/Armour/Jarvis)My shareable config for [commitlint](https://github.com/conventional-changelog/commitlint), see [COMMIT_CONVENTION.md](.github/COMMIT_CONVENTION.md) for detailed explanation.
## Usage
### Installation
```shell
npm i commitlint-config-armour
```or
```shell
yarn add commitlint-config-armour
```or
```shell
npx commitlint-config-armour
```### Define the config for your project
```shell
echo "module.exports = {extends: ['armour']};" > .commitlintrc.js
```or
```shell
echo "extends: ['armour']" > .commitlintrc.yml
```### Define the [husky](https://github.com/typicode/husky) hook in `package.json` file
```json
...
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
...
```## Contributing
See [CONTRIBUTING.md](https://github.com/Armour/commitlint-config-armour/blob/master/.github/CONTRIBUTING.md)
## License
[MIT License](https://github.com/Armour/commitlint-config-armour/blob/master/LICENSE)