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

There are libraries that use components in this way ```jsx html` component body ` ``` However this results in the wrong autocomplete and inserts some weird low dashes and numbers...

This is a test to go with whatever fix is developed for #253. It can't be submitted as-is since it currently fails. It also demonstrates a workaround for the bug:...

Is it possible to enable and/or disable rules per file, like eslint does it with comments? https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1

I'm getting false flags when I'm using converters on `@property` for both `no-incompatible-property-type` and `no-incompatible-type-binding`. I can remove the `no-incompatible-property-type` error by _not_ using `ComplexAttributeConverter` but no matter what I...

The webcomponent analyzer returns a typehint string we can display that if it is present and there isn't any simpletype information

Repro: ```ts import {LitElement, html} from 'lit'; import {customElement, property} from 'lit/decorators.js'; interface A { a: number; } interface B { b: number; } @customElement('test-element') export class Test extends LitElement...

Example: if `/lit-components/tests/lazy-consumer/node_modules/lit-components/` is a symlink to `/lit-components/`, lit-analyzer will crash with this error: ```ts ~/site/esri/arcgis-web-components/packages/lit-components lit-research* ⇡ ❯ yarn lit-analyzer . [Error: ENAMETOOLONG: name too long, scandir '/Users/mak13180/site/esri/arcgis-web-components/packages/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/lit-components/tests/lazy-consumer/node_modules/@esbuild'] {...

I'm getting this warning for some css inside a `css` template. ![image](https://github.com/user-attachments/assets/134fba7a-44dc-451c-824b-a68075affbc8) I think I would like to purpose two things: 1. Update the list of valid CSS styles 2....

When using `@lit-labs/preact-signals` with LitElement, binding a `Signal` to an attribute in a template results in the error: ``` You are binding a non-primitive type 'Signal'. This could result in...

Why unknown property? It's literally available here: - https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap - https://developer.chrome.com/docs/css-ui/css-text-wrap-balance