You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .golangci.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,6 @@ version: "2"
2
2
3
3
run:
4
4
timeout: 5m
5
-
# Skip vendor and generated code
6
-
skip-dirs:
7
-
- pkg/go-containerregistry
8
-
skip-files:
9
-
- main_test.go
10
5
11
6
formatters:
12
7
enable:
@@ -216,6 +211,11 @@ linters:
216
211
- text: '^shadow: declaration of "(ctx|err|ok)" shadows declaration'
217
212
linters:
218
213
- govet
214
+
- path: main_test\.go # Exclude main_test.go files because of a false positive: https://github.com/docker/model-runner/actions/runs/20296739902/job/58292102948
215
+
linters:
216
+
- unused
217
+
- staticcheck
218
+
text: "SA5011"
219
219
220
220
issues:
221
221
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
0 commit comments