mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-18 15:56:29 -05:00
* 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>
39 lines
901 B
YAML
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$
|