43081j / 43081j/eslint-plugin-lit

Update `binding-positions` rule for Lit v2

オープン
#98 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
138
フォーク
26
平均マージ
23時間 29分
マージ済み PR(30日)
4

説明

In Lit v2 you can achieve some of these invalid binding positions by using `import { html } from 'lit/static-html.js';
`.

We should probably warn about the binding positions if they're not utilizing the static html function.

https://lit.dev/docs/api/static-html/
https://lit.dev/docs/templates/expressions/#expression-locations
https://lit.dev/docs/templates/expressions/#static-expressions

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。