Skip to content

ECOM-12329 fix: lint errors #71

ECOM-12329 fix: lint errors

ECOM-12329 fix: lint errors #71

Triggered via pull request August 19, 2024 11:41
Status Failure
Total duration 23s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test: domain/redirectdefinition/store/entityid.go#L4
import 'github.com/google/uuid' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/store/redirect.go#L35
named return "newRequest" with type "RedirectRequest" found (nonamedreturns)
test: domain/redirectdefinition/store/redirect.go#L47
named return "isHome" with type "bool" found (nonamedreturns)
test: pkg/nats/defaultoptions.go#L6
import 'github.com/nats-io/nats.go' is not allowed from list 'Main' (depguard)
test: pkg/nats/updatesignal.go#L7
import 'github.com/foomo/keel/log' is not allowed from list 'Main' (depguard)
test: pkg/nats/updatesignal.go#L8
import 'github.com/nats-io/nats.go' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/service/service.go#L6
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/service/service.go#L7
import 'github.com/foomo/redirects/domain/redirectdefinition/store' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions.go#L6
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions.go#L7
import 'github.com/foomo/redirects/domain/redirectdefinition/store' is not allowed from list 'Main' (depguard)
test
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/