Files
Crussell/backend/.golangci.yml
T
popertots 8ae592d0c5
CI / Env docs check (push) Successful in 13s
CI / Nginx config check (push) Successful in 36s
CI / Frontend major deps (push) Successful in 37s
CI / Docker compose check (push) Successful in 38s
CI / Frontend deps check (push) Successful in 41s
CI / Secrets scan (push) Successful in 42s
CI / Go build (push) Successful in 42s
CI / Frontend build (push) Successful in 49s
CI / go mod tidy (push) Successful in 26s
CI / Go vet (dev) (push) Has been cancelled
CI / Go vet (prod) (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / Staticcheck (dev) (push) Has been cancelled
CI / Staticcheck (prod) (push) Has been cancelled
CI / Security scan (dev) (push) Has been cancelled
CI / Security scan (prod) (push) Has been cancelled
CI / Tests (prod) (push) Has been cancelled
CI / Tests (dev) (push) Has been cancelled
CI / Race (prod) (push) Has been cancelled
CI / Race (dev) (push) Has been cancelled
CI / Go vulnerabilities (push) Has been cancelled
CI / Knip (push) Has been cancelled
CI / Frontend a11y check (push) Has been cancelled
CI / Svelte strict check (push) Has been cancelled
CI / Frontend QC (audit) (push) Has been cancelled
CI / Frontend QC (typecheck) (push) Has been cancelled
CI / Frontend QC (lint) (push) Has been cancelled
fix: add golangci config, restore CI timeouts, svelte-check warnings, RespondError helper
2026-07-11 17:38:50 +01:00

39 lines
604 B
YAML

linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gosec
- gocritic
disable:
- exhaustruct
- nlreturn
- wsl
- wrapcheck
linters-settings:
errcheck:
exclude-functions:
- encoding/json.Encoder.Encode
- io.WriteString
- (io.Closer).Close
issues:
exclude-rules:
- path: _test\.go
linters:
- errcheck
- gosec
- path: handlers/testutils/
linters:
- gosec
- path: internal/square/square_dev.go
linters:
- errcheck
run:
timeout: 5m