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
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +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
5
9
6
formatters:
10
7
enable:
@@ -214,6 +211,10 @@ linters:
214
211
- text: '^shadow: declaration of "(ctx|err|ok)" shadows declaration'
215
212
linters:
216
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
+
- staticcheck
217
+
text: "SA5011"
217
218
218
219
issues:
219
220
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
0 commit comments