Skip to content

Commit

Permalink
Add pre-commit hook configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessOne91 committed Jun 7, 2024
1 parent 8d3a1ef commit 720ab06
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- repo: https://github.com/dnephin/pre-commit-golang
rev: master
hooks:
- id: go-mod-tidy

0 comments on commit 720ab06

Please sign in to comment.