You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Side note: Implementing this rule is one of the worst things svelte has ever done. Throw a warning sure, but throwing an error is overreaching for a JS framework. I do not want a framework to force me to write HTML "correctly".
Describe the bug
Because of the new
node_invalid_placement
rule. Svelte throws errors when using a<tr>
inside a<table>
.This should be allowed, even mdn has an example using those elements this way but svelte throws an error about it.
Side note: Implementing this rule is one of the worst things svelte has ever done. Throw a warning sure, but throwing an error is overreaching for a JS framework. I do not want a framework to force me to write HTML "correctly".
Reproduction
https://svelte.dev/playground/hello-world?version=5.25.3#H4sIAAAAAAAACm3LQQrCMBRF0a2UN1IIdh5CwZl7sA5S8wuBb1qSZ6uU7l2COHN6uHdD8g-BxUVUp2adsobmICFSwhEGY1QpsNcNfM-1qwDzu87zfCqLKKsNvsg_v0-Jklhg4egHla5PPR1z51rmrk-u_TIMKC_CMj9lvxnQR11jCrCj1yL7BwjxYu2uAAAA
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: