feat: check only changed files in pre-commit hook (#3521)
This commit is contained in:
parent
b88bb978c1
commit
985efcc161
@ -1,7 +1,7 @@
|
||||
- id: golangci-lint
|
||||
name: golangci-lint
|
||||
description: Fast linters runner for Go.
|
||||
entry: golangci-lint run --fix
|
||||
entry: golangci-lint run --new-from-rev HEAD --fix
|
||||
types: [go]
|
||||
language: golang
|
||||
pass_filenames: false
|
||||
pass_filenames: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user