Add pre-commit
hook to run config verify
(#4602)
This commit is contained in:
parent
4e56cba3a8
commit
7e2229aa3a
@ -14,3 +14,10 @@
|
||||
language: golang
|
||||
require_serial: true
|
||||
pass_filenames: false
|
||||
- id: golangci-lint-config-verify
|
||||
name: golangci-lint-config-verify
|
||||
description: Verifies the configuration file
|
||||
entry: golangci-lint config verify
|
||||
files: '\.golangci\.(?:yml|yaml|toml|json)'
|
||||
language: golang
|
||||
pass_filenames: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user