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
According to the vscode-css-languageservice documentation, it supports configuration via the css.customData setting.
However, the vscode-lit-plugin does not appear to honor these settings when analyzing css templates. For example, it should be possible to define a custom @ rule, like so:
.vscode/settings.json:
{
"css.customData": ["./.vscode/css-data.json"]
}
.vscode/css-data.json (attempting to work around #323):
According to the
vscode-css-languageservice
documentation, it supports configuration via thecss.customData
setting.However, the
vscode-lit-plugin
does not appear to honor these settings when analyzingcss
templates. For example, it should be possible to define a custom@
rule, like so:.vscode/settings.json
:.vscode/css-data.json
(attempting to work around #323):Example TypeScript code:
Expected: No warnings.
Actual: Problems view reads
Unknown at rule @container lit-plugin(no-invalid-css)
.The text was updated successfully, but these errors were encountered: