Skip to content

exchanges: shift GetDefaultConfig wrapper function to exchange.go #5478

exchanges: shift GetDefaultConfig wrapper function to exchange.go

exchanges: shift GetDefaultConfig wrapper function to exchange.go #5478

Triggered via pull request February 16, 2024 03:25
Status Failure
Total duration 1m 54s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
lint: exchanges/exchange_test.go#L3402
Error return value of `exch.Setup` is not checked (errcheck)
lint: exchanges/exchange.go#L1230
ST1016: methods on the same type should have the same receiver name (seen 107x "b", 1x "h") (stylecheck)
lint
issues found
lint: exchanges/exchange.go#L1986
receiver-naming: receiver name h should be consistent with previous receiver name b for Base (revive)
lint: exchanges/sharedtestvalues/sharedtestvalues.go#L234
context-as-argument: context.Context should be the first parameter of a function (revive)