totallymoney / eslint-plugin-prefer-smart-quotes

đź“Ź Prefer the use of curly quote/apostrophe characters
https://www.npmjs.com/package/eslint-plugin-prefer-smart-quotes
MIT License
4 stars 1 forks source link

TemplateElement #8

Open mfulton26 opened 2 months ago

mfulton26 commented 2 months ago

JSXText and Literal are already supported but TemplateElement is not yet supported. Can that be added?

Template literals (Template strings) - JavaScript | MDN

mfulton26 commented 2 months ago

I believe node.value.cooked is how the text in the template can be queried to be checked… there might be a better way. 🤔