runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
318 stars 36 forks source link

[lit-analyzer] Rule to prefer property bindings over attributes bindings for special attributes (input/value) #235

Open justinfagnani opened 2 years ago

justinfagnani commented 2 years ago

Often binding to value=${} has unexpected behavior, since value is only the initial value for the input and will not update when the binding value changes. Users may want to have a rule that enforces property bindings instead.