Add pre-commit hook to run config verify (#4602)

This commit is contained in:
Matthew Hughes 2024-03-31 13:11:05 +01:00 committed by GitHub
parent 4e56cba3a8
commit 7e2229aa3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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