Skip to content

linting capability

linting adds a golangci-lint configuration to your Go service with a curated set of linters for production-grade code quality.

  • .golangci.yaml with curated linter set (errcheck, govet, staticcheck, bodyclose, noctx, and more)

Add linting to every Go service. The curated linter set catches real bugs — unchecked errors, nil pointer risks, HTTP body leaks — not just style issues. Run it in CI and locally via the pre-commit hook.

Terminal window
verikt new my-service --language go --cap linting
# or add to an existing service:
verikt add linting

pre-commit

Pre-commit hooks that run golangci-lint before every commit.

ci-github

GitHub Actions CI that runs linting on every PR.

makefile

make lint target wired to golangci-lint.