43081j / 43081j/eslint-plugin-lit
lit/no-template-bind is not correct about auto-binding?
- 主要言語
- TypeScript
- スター
- 138
- フォーク
- 26
- 平均マージ
- 23時間 29分
- マージ済み PR(30日)
- 4
説明
First of all: Thank you so much for all your work and effort!
I've noticed that this plugin considers `.bind`-calls inside template-expressions an error, claiming that lit would auto-bind those. Trying to fix my projects unnecessary binding, I noticed that auto-binding seems to no longer be performed by lit (at least in version 2 it isn't).
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-template-bind.js (please ignore the async-directive stuff, as it is related to a different issue in a different project)
This change seems to also affect the no-template-arrow rule, as it is build around the same assumption.
Kind regards!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。