Skip to content

Commit 0231080

Browse files
author
Mattia Roccoberton
committed
chore: add Overcommit config
1 parent 7e2f873 commit 0231080

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.overcommit.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
CommitMsg:
2+
CapitalizedSubject:
3+
enabled: false
4+
5+
MessageFormat:
6+
enabled: true
7+
pattern: "^(fixup! ){0,1}(fix|feat|build|chore|ci|docs|style|refactor|perf|test)[!]{0,1}: .+$"
8+
expected_pattern_message: "<Commit type>: <Commit Message>"
9+
sample_message: "chore: add Overcommit config"
10+
11+
TextWidth:
12+
enabled: true
13+
max_subject_width: 72

extra/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Development
22

3+
Overcommit can be used to ensure that Conventional commits are good.
4+
35
## Releases
46

57
```sh

0 commit comments

Comments
 (0)