mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
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