Add gocritic linter #3751
golangci-lint.yml
on: pull_request
codespell
11s
Matrix: lint
Annotations
12 errors
lint (ubuntu-latest):
iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/dns/network_manager_linux.go#L125
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/iptables_linux.go#L176
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest):
client/internal/routemanager/iptables_linux.go#L184
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (ubuntu-latest)
issues found
|
lint (macos-latest):
iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (macos-latest):
client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (macos-latest)
issues found
|
lint (windows-latest):
iface/wg_configurer_nonandroid.go#L144
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (windows-latest):
client/internal/dns/server.go#L255
appendAssign: append result not assigned to the same slice (gocritic)
|
lint (windows-latest)
issues found
|