chore: enable golangci-lint on Windows and MacOS #1277
Annotations
10 errors
Setup golangci-lint:
internal/common/common_darwin.go#L370
receiver-naming: receiver name c should be consistent with previous receiver name s for CStr (revive)
|
Setup golangci-lint:
process/process_darwin.go#L351
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Setup golangci-lint:
disk/disk_darwin.go#L225
File is not properly formatted (gofumpt)
|
Setup golangci-lint:
net/net_darwin.go#L33
naked return in func `parseNetstatLine` with 70 lines of code (nakedret)
|
Setup golangci-lint:
net/net_darwin.go#L40
naked return in func `parseNetstatLine` with 70 lines of code (nakedret)
|
Setup golangci-lint:
net/net_darwin.go#L54
naked return in func `parseNetstatLine` with 70 lines of code (nakedret)
|
Setup golangci-lint:
net/net_darwin.go#L77
naked return in func `parseNetstatLine` with 70 lines of code (nakedret)
|
Setup golangci-lint:
net/net_darwin.go#L94
naked return in func `parseNetstatLine` with 70 lines of code (nakedret)
|
Setup golangci-lint:
internal/common/common_darwin.go#L309
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Setup golangci-lint:
internal/common/common_darwin.go#L327
fmt.Errorf can be replaced with errors.New (perfsprint)
|
Loading