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

Need to update that in our diagnostics here.

good first issue

The `vscode-lit-plugin` doesn't respect the `ignorePatterns` option in the `.eslintrc.js` file. There are occasions when I need to inspect the compiled code, but `eslint` signals numerous `lit-plugin` errors. I have...

The ts-lit-plugin and vscode-lit-plugin both crash when strict mode "strict": true is enabled. However, the CLI tool lit-analyzer works fine under the same configuration. **Dependencies:** `"ts-lit-plugin": "^2.0.0-pre.1", "typescript": "^5.1.3",` **Plugin...

Hello there guys! Thank you for the effort making this lit-html plugin! Due to this plugin before 3 years i made a smooth transition from angular guy to lit-html with...

The return type of `ifDefined` is determined with a special rule here: https://github.com/runem/lit-analyzer/blob/92c084da4d33d6fbdd8b29603d2003387e65dbb3/packages/lit-analyzer/src/lib/rules/util/directive/get-directive.ts#L45-L63 But the analyzer doesn't realize that the return type can't be `null` in Lit 2, because it...

Adds a test case for detecting attributes declared with a `@property` decorator. I was expecting this test to fail because it's not working in my code (#181). The problem must...

when I call a private JS method (`#`) starting the name `add` in the html tag function, a colorpicker will be shown. ```javascript ``` Not sure if the problem originates...

Are **auto-closing** features not working or are they just not implemented? I was wishing this update would fix that but it doesn't (even though auto-import works now) or am I...

In my new lit-html project lit-analyzer on both the CLI and via the ts-plugin were erroring with "no-unknown-attributes" when I was using an attribute from one of my own components....

![image](https://github.com/runem/lit-analyzer/assets/31955226/57b6a330-f870-42ad-a554-3a4123861de6) Here is the code to test ``` css` div:has(+ .test) { display: flex } div:has(> .test) { display: flex } div:has(~ .test) { display: flex }` ```