T111warning

Script block has no language

A <script> block has no lang or type attribute.

Piko needs to know whether a script is server-side Go or client-side TypeScript or JavaScript.

Add lang="go" (or type="application/x-go") for Go, lang="ts" for TypeScript, or lang="js" for JavaScript.

$ piko explain T111

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeScriptMissingLang in Piko's source to see where it is reported.