File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ linters-settings :
2+ gci :
3+ sections :
4+ - standard
5+ - default
6+ - prefix(github.com/apache/cloudstack-kubernetes-provider)
7+ gofumpt :
8+ module-path : " github.com/apache/cloudstack-kubernetes-provider"
9+ nolintlint :
10+ # https://github.com/golangci/golangci-lint/issues/3228
11+ allow-unused : true
12+
13+ linters :
14+ disable :
15+ - goheader
16+ - depguard
17+ - wrapcheck
18+ - mnd
19+ - varnamelen
20+ - testpackage
21+ - tagliatelle
22+ - paralleltest
23+ - ireturn
24+ - err113
25+ - gochecknoglobals
26+ - wsl
27+ - exhaustive
28+ - nosprintfhostport
29+ - nonamedreturns
30+ - interfacebloat
31+ - exhaustruct
32+ - lll
33+ - gosec
34+ - gomoddirectives
35+ - godox
36+ - gochecknoinits
37+ - funlen
38+ - dupl
39+ - cyclop
40+ - inamedparam
41+ # deprecated linters
42+ - tenv
43+ enable-all : true
44+
45+ issues :
46+ # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
47+ max-issues-per-linter : 0
48+ # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
49+ max-same-issues : 0
50+ exclude-rules :
51+ - path : (.+)_test.go$
52+ linters :
53+ - gocognit
54+ - goconst
55+ - gocyclo
56+ - errcheck
57+ - dupl
58+ - gosec
59+ - forbidigo
60+ - maintidx
61+
62+ run :
63+ timeout : 10m
64+ allow-parallel-runners : true
65+
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ BIN_DIR ?= bin
4040GO_INSTALL := ./hack/go_install.sh
4141
4242GOLANGCI_LINT_BIN := golangci-lint
43- GOLANGCI_LINT_VER := v1.63.4
43+ GOLANGCI_LINT_VER := v1.64.8
4444GOLANGCI_LINT := $(abspath $(TOOLS_BIN_DIR ) /$(GOLANGCI_LINT_BIN ) -$(GOLANGCI_LINT_VER ) )
4545GOLANGCI_LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
4646
You can’t perform that action at this time.
0 commit comments