blob: eda66db9320afd9e95c24ef82a0d7081d22c1bd5 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
echo "==> Checking for switch statement exhaustiveness..."
# For now we're only checking a handful of packages, rather than defaulting to
# everything with a skip list.
go run github.com/nishanths/exhaustive/cmd/exhaustive ./internal/command/views/json