43081j / eslint-plugin-lit

lit-html support for ESLint
120 stars 22 forks source link

Add rule to disallow xlink:href and bound namespaced attributes in general #64

Open justinfagnani opened 4 years ago

justinfagnani commented 4 years ago

The xlink:href attribute used to be required for <use> elements in Safari, but Safari now supports the plain href attribute since 12.1. A rule that errors on bound namespaced attributes and suggests plain href as an alternative to xlink:href would be great.