mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-06-15 14:22:09 -04:00
Add pre-commit
hook to run config verify
(#4602)
This commit is contained in:
parent
4e56cba3a8
commit
7e2229aa3a
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue