feat: add .golangci.yml and fix part of issues #20
Annotations
10 errors
Lint commits:
internal/tableprinter/response.go#L16
Error return value of `printer.AddRow` is not checked (errcheck)
|
Lint commits:
internal/tableprinter/response.go#L36
Error return value of `printer.AddRow` is not checked (errcheck)
|
Lint commits:
internal/tableprinter/response.go#L58
Error return value of `printer.AddRow` is not checked (errcheck)
|
Lint commits:
internal/tableprinter/response.go#L75
Error return value of `printer.AddRow` is not checked (errcheck)
|
Lint commits:
cli/main.go#L145
Error return value of `conn.Close` is not checked (errcheck)
|
Lint commits:
cli/main.go#L162
Error return value of `tableprinter.ParseAndPrintData` is not checked (errcheck)
|
Lint commits:
pkg/beparser/players.go#L109
G115: integer overflow conversion uint64 -> uint16 (gosec)
|
Lint commits:
cli/main.go#L153
G115: integer overflow conversion int -> uint16 (gosec)
|
Lint commits:
cli/main.go#L60
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint commits
issues found
|