meganrogge / template-string-converter

Autocorrect from quotes to backticks
MIT License
194 stars 24 forks source link

`addBracketsToProps` adds additional brackets when they already exist #95

Open tylerlaprade opened 3 months ago

tylerlaprade commented 3 months ago
    <Foo
      bar={`baz${}$`}
    >

When the curly is typed after the $ above, this is the result:

    <Foo
      bar={{`baz${}${}`}}
    >