chore: add commitlint type config

This commit is contained in:
Jan De Dobbeleer 2020-12-26 14:10:55 +01:00 committed by Jan De Dobbeleer
parent ac5dd0f76b
commit 1e71ea341a

View file

@ -1,3 +1,29 @@
---
extends:
- '@commitlint/config-conventional'
rules:
type-enum:
- 2
- always
- - chore
- ci
- feat
- fix
- docs
- theme
- refactor
- perf
- test
- revert
help: |
**Possible types**:
`chore`: Change build process, tooling or dependencies.
`ci`: Changes to our CI configuration files and scripts
`feat`: Adds a new feature.
`fix`: Solves a bug.
`docs`: Adds or alters documentation.
`theme`: Work on or add a theme.
`refactor`: Rewrites code without feature, performance or bug changes.
`perf`: Improves performance.
`test`: Adds or modifies tests.
`revert`: Changes that reverting other changes