Skip to content

Commit dfbfb20

Browse files
committed
chore: 🔨 add pre-commit hooks, including for commit linting
Closes #8, closes seedcase-project/team#89
1 parent 4d97e7c commit dfbfb20

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
ci:
4+
autofix_commit_msg: "chore(pre-commit): :pencil2: automatic fixes"
5+
autoupdate_commit_msg: "ci(pre-commit): :construction_worker: update pre-commit CI version"
6+
7+
repos:
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v3.2.0
10+
hooks:
11+
- id: trailing-whitespace
12+
- id: end-of-file-fixer
13+
14+
- repo: https://github.com/commitizen-tools/commitizen
15+
rev: v1.17.0
16+
hooks:
17+
- id: commitizen

0 commit comments

Comments
 (0)