You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this as a way to easily ensure configs stay valid. Filenames are not
passed to the hook, this means For the default case (config in one of
the default searched files), the config is picked up automatically and
there's nothing extra to configure. For the case of a non-standard
config setup the hook can be configured like
repos:
- repo: https://github.com/golangci/golangci-lint
rev: v1.57.2
hooks:
- id: golangci-lint-config-verify
# config is kept at '.golangci-config.yaml'
files: \.golangci-config\.yaml
args: ['--config', '.golangci-config.yaml']
0 commit comments