Files
descrybe/apps/api/staticcheck.conf
T

13 lines
738 B
Plaintext
Raw Normal View History

# Descrybe API staticcheck policy.
#
# ST1005 ("error strings should not be capitalized / end with punctuation") is
# disabled for this module. The only hits under the default check set are
# intentional legacy v1 public API messages for processing_type validation:
# - internal/processing/v1_legacy.go (ParseV1ProcessingType)
# - internal/httpapi/v1_process_handlers.go (JSON decode fallback)
# Those strings are part of the client-facing contract; lowercasing or stripping
# punctuation would be BREAKING. Makefile gates use `go vet` only (not staticcheck).
# Use "inherit" (not "all") so we keep the default check set minus ST1005.
# Re-enable ST1005 only after a coordinated API message migration.
checks = ["inherit", "-ST1005"]