debian-forge-composer/.golangci.yml
Tomáš Hozza 7bdd036395 Update osbuild/images to v0.88.0
Adjust all paces that call `Solver.Depsolve()`, to cope with the changes
that enabled SBOM support.

Fix loading of testing repositories in the CloudAPI unit tests.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-09-20 17:02:09 +02:00

30 lines
659 B
YAML

linters-settings:
govet:
disable:
- shadow # default value recommended by golangci
- composites
gomoddirectives:
replace-local: false
replace-allow-list:
- "github.com/osbuild/images"
linters:
enable:
- gosec
- gomoddirectives
run:
build-tags:
- integration
timeout: 5m
issues:
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0
exclude-rules:
- path: ^(osbuild-composer/)?cmd/osbuild-worker-executor/.*_test\.go$
linters: ["gosec"]