Files
Deluan 11d2e98b34 chore(lint): report sqlquote only when the string reaches SQL
sqlquote flagged any quoted splice in a file that imported a SQL package,
so CSV output, log text, FTS5 phrases and ORDER BY mappings needed a nolint.
It now follows the string up the expression and through local variables,
and reports only when it becomes an argument of a database/sql, squirrel or
dbx call, an argument of a call returning a type with ToSql, or the result
of a ToSql method. strings.ReplaceAll(x, q, qq) counts as escaped.

All nolint:sqlquote comments are gone, and the scanner warnings keep their
'%s' text. On 62256712f, before the id and JSON path fixes, it reports all
12 sites those fixes changed, and nothing else.

Signed-off-by: Deluan <deluan@navidrome.org>
2026-11-29 19:37:29 -05:00
..
2026-11-16 23:18:26 -05:00
2024-05-01 23:09:11 -04:00