mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 00:22:08 -06:00
chore: Add golangci fmt for pre-commit
This commit is contained in:
parent
4e39cebe61
commit
070c5f5a24
@ -34,7 +34,7 @@ When contributing changes to repository, follow these steps:
|
|||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Go 1.24.3+
|
- Go 1.25.0+
|
||||||
|
|
||||||
### Install Dependencies
|
### Install Dependencies
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,8 @@ pre-push:
|
|||||||
pre-commit:
|
pre-commit:
|
||||||
parallel: true
|
parallel: true
|
||||||
commands:
|
commands:
|
||||||
|
linter-fmt:
|
||||||
|
run: golangci-lint fmt
|
||||||
linter:
|
linter:
|
||||||
run: golangci-lint run -n
|
run: golangci-lint run -n
|
||||||
secrets-scanning:
|
secrets-scanning:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user