Skip to content

ECOM-12329 fix: lint errors #72

ECOM-12329 fix: lint errors

ECOM-12329 fix: lint errors #72

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

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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: domain/redirectdefinition/utils/consolidateredirectdefinitions.go#L4
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/consolidateredirectdefinitions.go#L5
import 'github.com/foomo/redirects/domain/redirectdefinition/store' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L216
216-306 lines are duplicate of `domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go:400-490` (dupl)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L400
400-490 lines are duplicate of `domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go:216-306` (dupl)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L9
import 'github.com/foomo/contentserver/content' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L10
import 'github.com/foomo/redirects/domain/redirectdefinition/utils' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L11
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
test: domain/redirectdefinition/utils/consolidateredirectdefinitions_test.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/