Files
docker-agent/pkg/memory/database/sqlite
David Gageot 2547907344 feat(lint): reject error string matching
Add ErrorStringMatching cop that flags strings.Contains/HasPrefix/HasSuffix
calls on err.Error() text. Callers should use errors.Is/errors.As instead.
Fix all existing violations; suppress the three unavoidable ones (overlong Unix
socket path, SQLite DDL migration, Docker CLI unknown-flag detection) with
inline disable comments.

Assisted-By: docker-agent
2026-09-14 11:31:50 +02:00
..