Skip to content

Commit

Permalink
test:pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush7833 committed Jun 9, 2024
1 parent 54259bd commit 1db4e7c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/hooks/pre-commit.sh

This file was deleted.

17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: go-fmt
- id: go-imports
- id: no-go-testing
- id: golangci-lint
- id: go-unit-tests

0 comments on commit 1db4e7c

Please sign in to comment.