vault/.golangci.yml
Vault Automation 0c6c13dd38
license: update headers to IBM Corp. (#10229) (#10233)
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2025-10-21 15:20:20 -06:00

39 lines
901 B
YAML

# Copyright IBM Corp. 2016, 2025
# SPDX-License-Identifier: MPL-2.0
version: "2"
linters:
enable:
- depguard
settings:
depguard:
rules:
main:
list-mode: lax
files:
- ./sdk/**
allow:
- github.com/hashicorp/go-metrics/compat
deny:
- pkg: github.com/hashicorp/go-metrics
desc: not allowed, use github.com/hashicorp/go-metrics/compat instead
- pkg: github.com/armon/go-metrics
desc: not allowed, use github.com/hashicorp/go-metrics/compat instead
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$