First of all: Thank you so much for all your work and effort!
I've been playing around with generators lately and noticed that lit-analyzer considers certain directives an error when used in certain contexts. In my case I was using the asyncReplace-directive on some custom-element properties. AFAICT this is supported by lit (at least in version 2 it is), because I was seeing the correct results in my project.
First of all: Thank you so much for all your work and effort! I've been playing around with generators lately and noticed that lit-analyzer considers certain directives an error when used in certain contexts. In my case I was using the
asyncReplace
-directive on some custom-element properties. AFAICT this is supported by lit (at least in version 2 it is), because I was seeing the correct results in my project.I've created a small project to replicate the error and a working use of the directive in a property-binding: https://github.com/lucaelin/lit-lint-issues/blob/main/issue-async-directives.js (please ignore the template-binding stuff, as it is related to a different issue in a different project)
Kind regards!