lit-analyzer
lit-analyzer copied to clipboard
Monorepository for tools that analyze lit-html templates
Hi, I'm wondering why `lit-analyzer` that `ts-lit-plugin` using, uses type definitions from `vscode-html-languageservice` rather than `typescript` lib.dom or own type definitions. For example `role` attribute case: When i create Lit...
Hello gang! Seems like the [color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme) property is marked as invalid. 
This adds support for CSS colors in the following formats: - rgb(...) - rgba(...) - hsl(...) - hsla(...) I also added some rudimentary tests for the color provider as a...
The code below is an example taken from an element class that demonstrates a scenario that triggers the following error on the `aria-current` attribute for the link element. ``` Type...
Container queries are supported in all major browsers, but the plugin doesn't recognize them.  
WIth the lit plugin installed, when you open a file that imports React you will see a lot of errors There are two issues here: 1. It reports errors for...
Related to #30 Currently, the only colors that can be matched and that can use the color picker are hex based: https://github.com/runem/lit-analyzer/blob/9659154904fd2010de3749fc5e904e8c3dfe684b/packages/vscode-lit-plugin/src/color-provider.ts#L117 With an HTML file:  With a TS...
Hi. I develop on a remote VM using VSCode remote SSH and noticed my VM memory getting filled up frequently leading me to rebooting my VM. When I was debugging...
lit-analyzer complains about a `no-incompatible-type-binding` problem on this perfectly fine code: ``` Confirm ``` lit-analyzer problem description: ``` Type '"dialog"' is not assignable to '"GET" | "POST"' 323: ton value="myvalue"...
This is newer but valid css, lit plugin does not accept it. 