Skip to content

Commit c1d31f6

Browse files
committed
chore: add pre-commit hook
1 parent f399c32 commit c1d31f6

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-json
9+
- id: check-merge-conflict
10+
- id: check-added-large-files
11+
12+
- repo: https://github.com/tekwizely/pre-commit-golang
13+
rev: v1.0.0-rc.2
14+
hooks:
15+
- id: go-mod-tidy
16+
- id: go-fmt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# codspeed-go
1+
# codspeed-go

0 commit comments

Comments
 (0)