43081j / eslint-plugin-lit

lit-html support for ESLint
116 stars 21 forks source link

Enhance `lit/no-invalid-escape-sequences` to have a fix #106

Closed stramel closed 3 years ago

stramel commented 3 years ago

We should be able to inject an extra escape sequence as a fix for the rule.

html`foo \0123 bar`

to

html`foo \\0123 bar`