Skip to content

Adapt to latest hive.go changes #57

Adapt to latest hive.go changes

Adapt to latest hive.go changes #57

Triggered via pull request August 30, 2023 16:16
Status Failure
Total duration 1m 58s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

50 errors
[golangci] pkg/mqtt/auth.go#L15: pkg/mqtt/auth.go#L15
unused-parameter: parameter 'user' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/mqtt/auth.go#L20: pkg/mqtt/auth.go#L20
unused-parameter: parameter 'user' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/mqtt/auth.go#L78: pkg/mqtt/auth.go#L78
unused-parameter: parameter 'user' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] pkg/mqtt/auth.go#L8: pkg/mqtt/auth.go#L8
import 'github.com/iotaledger/hive.go/web/basicauth' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L9: pkg/mqtt/broker.go#L9
import 'github.com/mochi-co/mqtt/server' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L10: pkg/mqtt/broker.go#L10
import 'github.com/mochi-co/mqtt/server/events' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L11: pkg/mqtt/broker.go#L11
import 'github.com/mochi-co/mqtt/server/listeners' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L12: pkg/mqtt/broker.go#L12
import 'github.com/mochi-co/mqtt/server/listeners/auth' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L13: pkg/mqtt/broker.go#L13
import 'github.com/mochi-co/mqtt/server/system' is not allowed from list 'Main' (depguard)
[golangci] pkg/mqtt/broker.go#L15: pkg/mqtt/broker.go#L15
import 'github.com/iotaledger/hive.go/web/subscriptionmanager' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/component.go#L8: components/mqtt/component.go#L8
import 'github.com/iotaledger/hive.go/app' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/component.go#L9: components/mqtt/component.go#L9
import 'github.com/iotaledger/hive.go/app/shutdown' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/component.go#L10: components/mqtt/component.go#L10
import 'github.com/iotaledger/inx-app/pkg/nodebridge' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/component.go#L11: components/mqtt/component.go#L11
import 'github.com/iotaledger/inx-mqtt/pkg/daemon' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/component.go#L12: components/mqtt/component.go#L12
import 'github.com/iotaledger/inx-mqtt/pkg/mqtt' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/params.go#L3: components/mqtt/params.go#L3
import 'github.com/iotaledger/hive.go/app' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/publish.go#L8: components/mqtt/publish.go#L8
import 'github.com/iotaledger/hive.go/serializer/v2' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/publish.go#L9: components/mqtt/publish.go#L9
import 'github.com/iotaledger/inx-app/pkg/nodebridge' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/publish.go#L10: components/mqtt/publish.go#L10
import 'github.com/iotaledger/inx/go' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/publish.go#L11: components/mqtt/publish.go#L11
import 'github.com/iotaledger/iota.go/v3' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L11: components/mqtt/server.go#L11
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L15: components/mqtt/server.go#L15
import 'github.com/iotaledger/hive.go/app/shutdown' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L16: components/mqtt/server.go#L16
import 'github.com/iotaledger/hive.go/lo' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L17: components/mqtt/server.go#L17
import 'github.com/iotaledger/hive.go/logger' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L18: components/mqtt/server.go#L18
import 'github.com/iotaledger/hive.go/web/subscriptionmanager' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L19: components/mqtt/server.go#L19
import 'github.com/iotaledger/inx-app/pkg/nodebridge' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L20: components/mqtt/server.go#L20
import 'github.com/iotaledger/inx-mqtt/pkg/mqtt' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L21: components/mqtt/server.go#L21
import 'github.com/iotaledger/inx/go' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/server.go#L22: components/mqtt/server.go#L22
import 'github.com/iotaledger/iota.go/v3' is not allowed from list 'Main' (depguard)
[golangci] components/mqtt/types.go#L6: components/mqtt/types.go#L6
import 'github.com/iotaledger/inx/go' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L8: components/prometheus/component.go#L8
import 'github.com/labstack/echo/v4' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L9: components/prometheus/component.go#L9
import 'github.com/labstack/echo/v4/middleware' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L10: components/prometheus/component.go#L10
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L11: components/prometheus/component.go#L11
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L12: components/prometheus/component.go#L12
import 'github.com/prometheus/client_golang/prometheus/collectors' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L13: components/prometheus/component.go#L13
import 'github.com/prometheus/client_golang/prometheus/promhttp' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L16: components/prometheus/component.go#L16
import 'github.com/iotaledger/hive.go/app' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L17: components/prometheus/component.go#L17
import 'github.com/iotaledger/inx-mqtt/components/mqtt' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/component.go#L18: components/prometheus/component.go#L18
import 'github.com/iotaledger/inx-mqtt/pkg/daemon' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/metrics.go#L4: components/prometheus/metrics.go#L4
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/metrics.go#L6: components/prometheus/metrics.go#L6
import 'github.com/iotaledger/inx-mqtt/components/mqtt' is not allowed from list 'Main' (depguard)
[golangci] components/prometheus/params.go#L4: components/prometheus/params.go#L4
import 'github.com/iotaledger/hive.go/app' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L4: components/app/app.go#L4
import 'github.com/iotaledger/hive.go/app' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L5: components/app/app.go#L5
import 'github.com/iotaledger/hive.go/app/components/profiling' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L6: components/app/app.go#L6
import 'github.com/iotaledger/hive.go/app/components/shutdown' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L7: components/app/app.go#L7
import 'github.com/iotaledger/inx-app/components/inx' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L8: components/app/app.go#L8
import 'github.com/iotaledger/inx-mqtt/components/mqtt' is not allowed from list 'Main' (depguard)
[golangci] components/app/app.go#L9: components/app/app.go#L9
import 'github.com/iotaledger/inx-mqtt/components/prometheus' is not allowed from list 'Main' (depguard)
[golangci] main.go#L4: main.go#L4
import 'github.com/iotaledger/inx-mqtt/components/app' is not allowed from list 'Main' (depguard)
GolangCI-Lint
reviewdog exited with status code: 1