schoero / eslint-plugin-readable-tailwind

ESLint plugin to automatically break up long tailwind class strings into multiple lines for better readability.
MIT License
63 stars 3 forks source link

fix: remove unnecessary newline after single sticky class #23

Closed schoero closed 2 months ago

schoero commented 2 months ago

Before:

<img class={`
  ${true}a

`} />

After:

<img class={`
  ${true}a
`} />