Skip to content

Commit

Permalink
feat: add commitlint linter
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Walter <[email protected]>
  • Loading branch information
walterchris committed Feb 15, 2024
1 parent d351175 commit 9413206
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Configuration for commitlint
---
# Basic set of roules taken from https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional
extends:
- "@commitlint/config-conventional"
# Override type-enum to just use types, which are relevant to this project
rules:
type-enum:
- 2
- always
- - build
- chore
- ci
- docs
- feat
- fix
- refactor
- revert
- test

0 comments on commit 9413206

Please sign in to comment.