1
0
mirror of https://github.com/hashicorp/terraform.git synced 2026-02-05 06:46:14 +01:00
Files
terraform/staticcheck.conf
Sarah French 0ce2e37a66 Manual backport of chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally into v1.14 (#37910)
* chore: Run `go get golang.org/x/crypto@v0.44.0`

* chore: Run `make syncdeps`

* chore: Run `make generate`

* chore: Update staticcheck.conf to ignore SA4003
2025-11-17 15:58:49 +00:00

8 lines
664 B
Plaintext

# Our goal in using staticcheck is to find issues that reduce code clarity, or
# may result in bugs.
# We are skipping:
# -ST*: Style-related checks, since terraform intentionally breaks some of these.
# -SA1019: Function deprecation checks because our policy is to update deprecated calls locally while making other nearby changes, rather than to make cross-cutting changes to update them all.
# -SA4003: Comparing unsigned values against negative values checks; we generate code using golang.org/x/tools/cmd/stringer that introduces this issue when used with custom types that have unsigned underlying types.
checks = ["all", "-SA1019", "-SA4003", "-ST*"]