feat: check only changed files in pre-commit hook (#3521)

This commit is contained in:
David Beitey 2023-03-06 12:27:07 +10:00 committed by GitHub
parent b88bb978c1
commit 985efcc161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
- id: golangci-lint - id: golangci-lint
name: golangci-lint name: golangci-lint
description: Fast linters runner for Go. description: Fast linters runner for Go.
entry: golangci-lint run --fix entry: golangci-lint run --new-from-rev HEAD --fix
types: [go] types: [go]
language: golang language: golang
pass_filenames: false pass_filenames: true