You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helm/.golangci.yml

41 lines
739 B

run:
timeout: 10m
linters:
disable-all: true
enable:
- depguard
- dupl
- gomodguard
- govet
- ineffassign
- misspell
- nakedret
- revive
- staticcheck
- unused
- gofmt
- goimports
linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: helm.sh/helm/v4
depguard:
rules:
main:
deny:
- pkg: github.com/hashicorp/go-multierror
desc: "use errors instead"
- pkg: github.com/pkg/errors
desc: "use errors instead"
dupl:
threshold: 400
gomodguard:
blocked:
modules:
- github.com/evanphx/json-patch:
recommendations:
- github.com/evanphx/json-patch/v5