mirror of https://github.com/helm/helm
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.
65 lines
1.1 KiB
65 lines
1.1 KiB
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
|
|
exclusions:
|
|
generated: lax
|
|
|
|
settings:
|
|
gofmt:
|
|
simplify: true
|
|
|
|
goimports:
|
|
local-prefixes:
|
|
- helm.sh/helm/v4
|
|
|
|
linters:
|
|
default: none
|
|
|
|
enable:
|
|
- depguard
|
|
- dupl
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- revive
|
|
- staticcheck
|
|
- unused
|
|
- usestdlibvars
|
|
|
|
exclusions:
|
|
# Helm, and the Go source code itself, sometimes uses these names outside their built-in
|
|
# functions. As the Go source code has re-used these names it's ok for Helm to do the same.
|
|
# Linting will look for redefinition of built-in id's but we opt-in to the ones we choose to use.
|
|
generated: lax
|
|
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
|
|
rules: []
|
|
|
|
warn-unused: true
|
|
|
|
settings:
|
|
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
|
|
|
|
run:
|
|
timeout: 10m
|
|
|
|
version: "2"
|