remove nolint (#36252)

This commit is contained in:
Lunny Xiao
2025-12-26 22:55:30 -08:00
committed by GitHub
parent 64fcf847ce
commit 00cc84e37c

View File

@@ -46,7 +46,7 @@ func (r *stripRenderer) Render(w io.Writer, source []byte, doc ast.Node) error {
coalesce := prevSibIsText
r.processString(
w,
v.Text(source), //nolint:staticcheck // Text is deprecated
v.Value(source),
coalesce)
if v.SoftLineBreak() {
r.doubleSpace(w)