File tree Expand file tree Collapse file tree 2 files changed +42
-44
lines changed Expand file tree Collapse file tree 2 files changed +42
-44
lines changed Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
env :
19
19
GO_VERSION : stable
20
- GOLANGCI_LINT_VERSION : v1.61 .0
20
+ GOLANGCI_LINT_VERSION : v1.62 .0
21
21
22
22
steps :
23
23
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
- run :
2
- timeout : 5m
1
+ linters :
2
+ enable-all : true
3
+ disable :
4
+ - exportloopref # deprecated
5
+ - sqlclosecheck # not relevant (SQL)
6
+ - rowserrcheck # not relevant (SQL)
7
+ - cyclop # duplicate of gocyclo
8
+ - lll
9
+ - dupl
10
+ - wsl
11
+ - nlreturn
12
+ - mnd
13
+ - err113
14
+ - wrapcheck
15
+ - exhaustive
16
+ - exhaustruct
17
+ - testpackage
18
+ - tparallel
19
+ - paralleltest
20
+ - prealloc
21
+ - forcetypeassert
22
+ - bodyclose # Too many false positives: https://github.com/timakin/bodyclose/issues/30
23
+ - varnamelen
24
+ - noctx
25
+ - tagliatelle
26
+ - nilnil
27
+ - ireturn
28
+ - nonamedreturns
29
+ - gochecknoglobals # TODO(ldez) should be use on the project
30
+ - nestif # TODO(ldez) should be use on the project
31
+ - musttag
3
32
4
33
linters-settings :
5
34
govet :
@@ -55,47 +84,6 @@ linters-settings:
55
84
sprintf1 : true
56
85
strconcat : false
57
86
58
- linters :
59
- enable-all : true
60
- disable :
61
- - gomnd # deprecated
62
- - execinquery # deprecated
63
- - exportloopref # deprecated
64
- - sqlclosecheck # not relevant (SQL)
65
- - rowserrcheck # not relevant (SQL)
66
- - cyclop # duplicate of gocyclo
67
- - lll
68
- - dupl
69
- - wsl
70
- - nlreturn
71
- - mnd
72
- - err113
73
- - wrapcheck
74
- - exhaustive
75
- - exhaustruct
76
- - testpackage
77
- - tparallel
78
- - paralleltest
79
- - prealloc
80
- - forcetypeassert
81
- - bodyclose # Too many false positives: https://github.com/timakin/bodyclose/issues/30
82
- - varnamelen
83
- - noctx
84
- - tagliatelle
85
- - nilnil
86
- - ireturn
87
- - nonamedreturns
88
- - gochecknoglobals # TODO(ldez) should be use on the project
89
- - nestif # TODO(ldez) should be use on the project
90
- - musttag
91
-
92
- output :
93
- show-stats : true
94
- sort-results : true
95
- sort-order :
96
- - linter
97
- - file
98
-
99
87
issues :
100
88
exclude-use-default : false
101
89
max-issues-per-linter : 0
@@ -137,3 +125,13 @@ issues:
137
125
text : " float-compare: use assert\\ .InEpsilon \\ (or InDelta\\ )" # TODO(ldez) must be fixed
138
126
- path : memmetrics/anomaly_test.go
139
127
text : " float-compare: use assert\\ .InEpsilon \\ (or InDelta\\ )" # TODO(ldez) must be fixed
128
+
129
+ output :
130
+ show-stats : true
131
+ sort-results : true
132
+ sort-order :
133
+ - linter
134
+ - file
135
+
136
+ run :
137
+ timeout : 5m
You can’t perform that action at this time.
0 commit comments