Skip to content

Commit

Permalink
ci(pre-commit): add pre-commit hooks configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpyxel committed Nov 9, 2023
1 parent 5f59f3b commit b21663c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/golangci/golangci-lint
rev: v1.55.2
hooks:
- id: golangci-lint

0 comments on commit b21663c

Please sign in to comment.