Closed RedHatter closed 2 years ago
Add type="text/less"
or lang="less"
to your <style>
I already have lang="less"
I see, the difference it makes for me is that the language highlight works and 10+ errors become one. Doesn't solve the issue, but less noise for me is better than nothing.
This is actually a Language Server issue, I just observed the same behaviour in VSCode.
I believe Language Server update in the last version of the plugin has fixed this long standing issue. I don't see lint error after a quick test with the new version (setting lang="lesse"
and using a less specific variable).
I use less in my style tags and
svelte-atom
attempts to lint it as normal css.