summaryrefslogtreecommitdiff
path: root/staticcheck.conf
blob: 939bace6d07305f48e6ed4f1a86174ce43787d40 (plain)
1
2
3
4
5
6
# The `verify` make target uses staticcheck as a correctness gate. We inherit
# staticcheck's default analyzers (bug detection SA*, simplifications S*, unused
# code U*) but disable ST1012, a purely cosmetic convention that error variables
# be named ErrFoo. Renaming the package's existing NotFound/NotImplemented would
# be lint churn unrelated to verification, so it is intentionally not enforced.
checks = ["inherit", "-ST1012"]