From c2d426624af04c7fc672f4b4ed781c0e67d6942e Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Mon, 6 Jul 2026 13:23:47 +0700 Subject: [PATCH] docs(agents): require lint before code commits --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index c7eb881..d6131a3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,6 +14,8 @@ in-memory storage in tests. Read `README.md` before implementation work. - Use `gofmt` on changed Go files. - Run focused tests for touched packages, then `go test ./...` and `go vet ./...` for command, storage, migration, or shared behavior changes. +- Before committing code changes, run the CI lint gate locally with + `golangci-lint run` when the binary is available. - Do not commit secrets, tokens, dotenv files, private keys, or production data. ## Command Changes