43081j / 43081j/eslint-plugin-lit

no-invalid-html doesn't always warn on invalid HTML

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
138
Forks
26
Avg merge
23h 29m
Merged PRs (30d)
4

Description

Something like that isn't errored:

```js
class MyElement extends LitElement {
render() {
return html`

`;
}
}
```

That is, if there is a closing tag for an element that wasn't opened.
These ones can be difficult to spot, and this can lead to other tools not working properly (see https://github.com/prettier/prettier/issues/19051 for example).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.