lit-analyzer icon indicating copy to clipboard operation
lit-analyzer copied to clipboard

Monorepository for tools that analyze lit-html templates

Results 161 lit-analyzer issues
Sort by recently updated
recently updated
newest added
trafficstars

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. ![image](https://github.com/runem/lit-analyzer/assets/12989781/076aae86-4fdb-4515-a651-72aa61b7c323)

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. ![image](https://github.com/runem/lit-analyzer/assets/1651691/b3234905-09fc-4173-a532-aafbecec4018) ![image](https://github.com/runem/lit-analyzer/assets/1651691/4e28a9a1-7f4a-47ea-ada9-be1e7eb5195d)

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: ![image](https://github.com/runem/lit-analyzer/assets/4109551/03e1870c-5a40-4fe1-b5bd-d4903a307cd1) 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. ![image](https://github.com/runem/lit-analyzer/assets/52429191/ff80511f-e4f9-4d89-9b13-60afdcf3d233)