File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 2
2
timeout : 5m
3
3
allow-parallel-runners : true
4
4
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
+
5
19
issues :
6
20
# don't skip warning about doc comments
7
21
# don't exclude the default set of lint
@@ -12,28 +26,42 @@ issues:
12
26
- path : " api/*"
13
27
linters :
14
28
- lll
15
- - path : " internal/*"
29
+ - path : " pkg/resources/*"
30
+ linters :
31
+ - dupl
32
+ - lll
33
+ - path : " controllers/*"
16
34
linters :
17
35
- dupl
18
36
- lll
37
+ - gci
38
+ - path : " cmd/main.go"
39
+ linters :
40
+ - gci
41
+
19
42
linters :
20
43
disable-all : true
21
44
enable :
45
+ - bodyclose
22
46
- copyloopvar
23
47
- dupl
24
48
- errcheck
49
+ - gci
25
50
- goconst
26
51
- gocyclo
27
52
- gofmt
53
+ - gofumpt
28
54
- goimports
29
55
- gosimple
30
56
- govet
31
57
- ineffassign
32
58
- lll
33
59
- misspell
60
+ - nolintlint
34
61
- prealloc
35
62
- staticcheck
36
63
- typecheck
37
64
- unconvert
38
- - unparam
65
+ - unparam
39
66
- unused
67
+ - whitespace
You can’t perform that action at this time.
0 commit comments