43081j / eslint-plugin-lit

lit-html support for ESLint
120 stars 22 forks source link

Expose the property key node in property maps #161

Closed 43081j closed 1 year ago

43081j commented 1 year ago

currently we expose the node of the expression found at each property map key.

it'd be useful in some rules to also expose the node of the key itself, in case we're linting that (rather than the value).

should be a fairly simple interface change and adding the node we already have a ref to.