lit-analyzer
lit-analyzer copied to clipboard
Monorepository for tools that analyze lit-html templates
Code: ```ts class MyElementWithDialog extends LitElement { override render() { return html`Content } } ``` Reports ``` Unknown event 'cancel'. Did you mean '@change'? 6: @cancel="${this.onDialogCancel}" no-unknown-event Unknown event 'close'....
Hi, thanks for the great tool! I'd love to start using it on a codebase, however I think I've hit two bugs (#283, #284). It would be great if I...
The `no-invalid-css` rule gets triggered by (as far as I can tell) perfectly fine CSS animation keyframes: ``` @keyframes test { 0% { background-color: transparent; } } ``` gives: ```...
The CLI version of `lit-analyzer` will incorrectly report a `` tag starting with a space as unclosed: ``` ./src/file.ts This tag isn't closed. 92: no-unclosed-tag ``` Removing the whitespace fixes...
`vscode-web-custom-data` has been deprecated and replaced by `@vscode/web-custom-data`.
My team would like to start using the lit-analyzer CLI to lint our Lit code base, but our IT department was a little worried about the future of this package....
Consider this repro: https://github.com/HalfdanJ/lit-element-starter-ts (recommend opening a github codespace to get a stand alone fresh install of the VSCode plugin, with only local configuration) With a same-project import of `some-element`,...
I'm trying to contribute to https://github.com/esphome/dashboard and learn typescript and lit doing that. Right now I'm trying to add lit-analyzer package to repo and fix all errors is thows. One...