Skip to content

Skip some new linters #481

Skip some new linters

Skip some new linters #481

Triggered via pull request June 16, 2023 11:57
Status Failure
Total duration 1m 58s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
linters: internal/handlers/webhooks.go#L15
`db` is unused (structcheck)
linters: internal/common/errors.go#L6
import 'github.com/gofiber/fiber/v2' is not allowed from list 'Main' (depguard)
linters: internal/common/validator.go#L9
import 'github.com/gofiber/fiber/v2' is not allowed from list 'Main' (depguard)
linters: internal/common/validator.go#L11
import 'github.com/go-playground/validator/v10' is not allowed from list 'Main' (depguard)
linters: internal/models/hooks.go#L6
import 'github.com/gofiber/fiber/v2/utils' is not allowed from list 'Main' (depguard)
linters: internal/models/hooks.go#L7
import 'github.com/italia/developers-italia-api/internal/common' is not allowed from list 'Main' (depguard)
linters: internal/database/database.go#L8
import 'github.com/jackc/pgconn' is not allowed from list 'Main' (depguard)
linters: internal/database/database.go#L10
import 'github.com/italia/developers-italia-api/internal/common' is not allowed from list 'Main' (depguard)
linters: internal/database/database.go#L11
import 'github.com/jackc/pgerrcode' is not allowed from list 'Main' (depguard)
linters: internal/database/postgres_database.go#L6
import 'github.com/italia/developers-italia-api/internal/models' is not allowed from list 'Main' (depguard)