Diagnostics
LUM1004: Unclosed <style> block
A <style> block has no closing </style>.
Severity: error · Category: file format (1xxx)
Reported by: the scanner (compiler, lumiose check, language server).
#What it means
Block content runs up to the first </style>. Without one, the rest of the file would be CSS, so
the scanner stops and reports the block.
#Example
export function Card() {
return (
<div class="card">
<style>
.card { padding: 1rem; }
</div>
);
}