File tree 2 files changed +24
-54
lines changed
2 files changed +24
-54
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
- timeout : 5m
3
+ timeout : 10m
3
4
allow-parallel-runners : true
4
5
5
- linters-settings :
6
- gci :
7
- sections :
8
- - standard
9
- - default
10
- - prefix(github.com/kube-logging/telemetry-controller)
11
- goimports :
12
- local-prefixes : github.com/kube-logging/telemetry-controller
13
- misspell :
14
- locale : US
15
- nolintlint :
16
- allow-unused : false # report any unused nolint directives
17
- require-specific : false # don't require nolint directives to be specific about which linter is being skipped
18
-
19
- issues :
20
- # don't skip warning about doc comments
21
- # don't exclude the default set of lint
22
- exclude-use-default : false
23
- # restore some of the defaults
24
- # (fill in the rest as needed)
25
- exclude-rules :
26
- - path : " api/*"
27
- linters :
28
- - lll
29
- - path : " pkg/resources/*"
30
- linters :
31
- - dupl
32
- - lll
33
- - path : " controllers/*"
34
- linters :
35
- - dupl
36
- - lll
37
- - gci
38
- - path : " cmd/main.go"
39
- linters :
40
- - gci
6
+ formatters :
7
+ settings :
8
+ gci :
9
+ sections :
10
+ - standard
11
+ - default
12
+ - prefix(github.com/kube-logging/telemetry-controller)
13
+ goimports :
14
+ local-prefixes :
15
+ - github.com/kube-logging/telemetry-controller
16
+ gofmt :
17
+ simplify : true
18
+ gofumpt :
19
+ extra-rules : false
41
20
42
21
linters :
43
- disable-all : true
22
+ settings :
23
+ misspell :
24
+ locale : US
25
+ gocyclo :
26
+ min-complexity : 15
44
27
enable :
28
+ - staticcheck
45
29
- bodyclose
46
- - copyloopvar
47
- - dupl
48
30
- errcheck
49
- - gci
50
- - goconst
51
- - gocyclo
52
- - gofmt
53
- - gofumpt
54
- - goimports
55
- - gosimple
56
- - govet
57
31
- ineffassign
58
- - lll
59
32
- misspell
60
33
- nolintlint
61
- - prealloc
62
- - staticcheck
63
- - typecheck
64
34
- unconvert
65
- - unparam
35
+ - unparam
66
36
- unused
67
37
- whitespace
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ CONTROLLER_TOOLS_VERSION := 0.17.2
9
9
KUSTOMIZE_VERSION := 5.5.0
10
10
11
11
# renovate: datasource=github-releases depName=golangci/golangci-lint versioning=semver
12
- GOLANGCI_LINT_VERSION := 1.64.8
12
+ GOLANGCI_LINT_VERSION := 2.0.2
13
13
14
14
# renovate: datasource=github-releases depName=kubernetes-sigs/kind versioning=semver
15
15
KIND_VERSION ?= 0.26.0
You can’t perform that action at this time.
0 commit comments