mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
feat: check only changed files in pre-commit hook (#3521)
This commit is contained in:
parent
b88bb978c1
commit
985efcc161
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue