Configuration options for wc/require-listener-teardown
joekukish opened this issue · 0 comments
joekukish commented
Per lit documentation, removeEventListener is not required if this
is used (as I presume everything will be garbage collected together).
Ideally wc/require-listener-teardown
should be configurable to warn on
- anonymous functions in addEventListener (inside connectedCallback).
- ignore
this
(only warn on window, or document for example).