Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (33 sloc) 845 Bytes
# all available settings of specific linters
linters-settings:
goimports:
# put imports beginning with prefix after 3rd-party packages;
# it's a comma-separated list of prefixes
local-prefixes: sigs.k8s.io/krew
# options for analysis running
run:
# which dirs to skip: they won't be analyzed;
# can use regexp here: generated.*, regexp is applied on full path;
# default value is empty list, but next dirs are always skipped independently
# from this option's value:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
skip-dirs:
- hack
- docs
linters:
enable:
- gocritic
- goimports
- golint
- gosimple
- interfacer
- maligned
- misspell
- unconvert
- unparam
- stylecheck
- staticcheck
- structcheck
- prealloc
disable:
- errcheck
You can’t perform that action at this time.