Skip to content

Add iface linter

Add iface linter #8186

Triggered via pull request September 18, 2024 12:07
Status Failure
Total duration 1m 2s
Artifacts

pr.yml

on: pull_request
golangci-lint
45s
golangci-lint
go-mod
17s
go-mod
check_generated
52s
check_generated
Matrix: Installation script (local)
tests-on-windows
0s
tests-on-windows
tests-on-macos
0s
tests-on-macos
commands
0s
commands
Matrix: tests-on-unix
Fit to window
Zoom out
Zoom in

Annotations

14 errors
golangci-lint: pkg/lint/linter/config.go#L8
could not import github.com/golangci/golangci-lint/pkg/config (-: # github.com/golangci/golangci-lint/pkg/config
golangci-lint: pkg/config/linters_settings.go#L92
unknown field Unused in struct literal of type IfaceSettings
golangci-lint: pkg/config/linters_settings.go#L93
unknown field Identical in struct literal of type IfaceSettings
golangci-lint: pkg/config/linters_settings.go#L94
unknown field Opaque in struct literal of type IfaceSettings) (typecheck)
golangci-lint: pkg/golinters/gomoddirectives/gomoddirectives.go#L9
could not import github.com/golangci/golangci-lint/pkg/config (-: # github.com/golangci/golangci-lint/pkg/config
golangci-lint: pkg/config/linters_settings.go#L92
unknown field Unused in struct literal of type IfaceSettings
golangci-lint: pkg/config/linters_settings.go#L93
unknown field Identical in struct literal of type IfaceSettings
golangci-lint: pkg/config/linters_settings.go#L94
unknown field Opaque in struct literal of type IfaceSettings) (typecheck)
golangci-lint: pkg/golinters/nolintlint/nolintlint.go#L10
could not import github.com/golangci/golangci-lint/pkg/config (-: # github.com/golangci/golangci-lint/pkg/config
golangci-lint: pkg/config/linters_settings.go#L92
unknown field Unused in struct literal of type IfaceSettings
check_generated: pkg/config/linters_settings.go#L92
unknown field Unused in struct literal of type IfaceSettings
check_generated: pkg/config/linters_settings.go#L93
unknown field Identical in struct literal of type IfaceSettings
check_generated: pkg/config/linters_settings.go#L94
unknown field Opaque in struct literal of type IfaceSettings
check_generated
Process completed with exit code 2.