Open RobertAKARobin opened 2 weeks ago
The /*html*//html template literal syntax is used by several libraries, like Lit:
/*html*/
html
const myTemplate = /*html*/` <div> <h1>Hello, world!</h1> </div> `; document.body.innerHTML = myTemplate;
It would be nice if html-eslint could be run on Javascript template literals like this.
See also https://github.com/pushqrdx/vscode-inline-html
@RobertAKARobin Agree! Thanks for the suggestion. I can't think of a way to implement this off the top of my head, but it seems like a useful feature.
The
/*html*/
/html
template literal syntax is used by several libraries, like Lit:It would be nice if html-eslint could be run on Javascript template literals like this.
See also https://github.com/pushqrdx/vscode-inline-html