Add gocritic linter #3784
golangci-lint.yml
on: pull_request
codespell
7s
Matrix: lint
Annotations
6 errors
lint (ubuntu-latest):
client/internal/routemanager/nftables_linux.go#L303
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/nftables_linux.go#L325
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/nftables_linux.go#L424
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/nftables_linux.go#L426
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/nftables_linux_test.go#L47
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest)
issues found
|