Remove validation for empty dialogue speaker names

This commit is contained in:
2026-04-15 10:10:54 +02:00
parent cf8d37dd44
commit 50528acdfc

View File

@@ -4703,16 +4703,6 @@ function validateProjectDialogue(
);
}
if (line.speakerName !== null && line.speakerName.trim().length === 0) {
diagnostics.push(
createDiagnostic(
"error",
"invalid-dialogue-line-speaker",
"Dialogue speaker names must be non-empty when authored.",
`${linePath}.speakerName`
)
);
}
}
}