Skip to content

Coinbase revamp done?? #33

Coinbase revamp done??

Coinbase revamp done?? #33

Triggered via push February 14, 2024 04:03
Status Failure
Total duration 2m 26s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
lint: exchanges/coinbasepro/coinbasepro_test.go#L117
Error return value of `c.API.Endpoints.SetDefaultEndpoints` is not checked (errcheck)
lint: exchanges/coinbasepro/coinbasepro_test.go#L147
Error return value of `c.Websocket.Enable` is not checked (errcheck)
lint: exchanges/coinbasepro/coinbasepro_test.go#L1435
Error return value of `u.UnmarshalJSON` is not checked (errcheck)
lint: exchanges/coinbasepro/coinbasepro_test.go#L1472
Error return value of `c.Websocket.Disable` is not checked (errcheck)
lint: exchanges/coinbasepro/coinbasepro_test.go#L1477
Error return value of `c.Websocket.Enable` is not checked (errcheck)
lint: exchanges/coinbasepro/coinbasepro_test.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: exchanges/coinbasepro/coinbasepro_test.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint: exchanges/coinbasepro/coinbasepro.go#L1338
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
lint: exchanges/coinbasepro/coinbasepro.go#L1373
assignOp: replace `path = path + queryParams` with `path += queryParams` (gocritic)
lint: exchanges/coinbasepro/coinbasepro_websocket.go#L298
hugeParam: snapshot is heavy (88 bytes); consider passing it by pointer (gocritic)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: exchanges/order/order_types.go#L365
exported: exported var AllOrderTypes should have comment or be unexported (revive)
lint: exchanges/order/order_types.go#L444
exported: exported const StopUp should have comment (or a comment on this block) or be unexported (revive)
lint: exchanges/coinbasepro/coinbasepro_test.go#L75
var-naming: const errJsonUnsupportedChan should be errJSONUnsupportedChan (revive)
lint: exchanges/coinbasepro/coinbasepro_test.go#L77
var-naming: const errJsonNumberIntoString should be errJSONNumberIntoString (revive)
lint: exchanges/coinbasepro/coinbasepro_test.go#L80
var-naming: const errJsonInvalidCharacter should be errJSONInvalidCharacter (revive)
lint: exchanges/coinbasepro/coinbasepro_websocket.go#L441
var-naming: var headJson should be headJSON (revive)
lint: exchanges/coinbasepro/coinbasepro_websocket.go#L454
var-naming: var bodyJson should be bodyJSON (revive)
lint: exchanges/coinbasepro/coinbasepro_test.go#L1488
var-naming: var mockJson should be mockJSON (revive)
lint: exchanges/coinbasepro/ratelimit.go#L25
exported: exported const V2Rate should have comment (or a comment on this block) or be unexported (revive)
lint: exchanges/coinbasepro/coinbasepro.go#L74
exported: exported const FiatDeposit should have comment (or a comment on this block) or be unexported (revive)