debian-forge-composer/.golangci.yml
Ondřej Budai 8d0984ef5d ci/lint: add integration tag
In the current PRs we have an issue with the linter failing on a dead code
in integration tests. The linter isn't failing on main_test.go file
because it somehow ignores the integration tag. However, it fails on
other files which main_test.go depends on and which have the integration
tag.

This commit tells golangci-lint to always use the integration tag while doing
the inspection.
2020-03-17 20:36:58 +01:00

16 lines
370 B
YAML

linters-settings:
govet:
disable:
- shadow # default value recommended by golangci
- composites
run:
build-tags:
- integration
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