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: sticky expressions #13

Closed schoero closed 3 months ago

schoero commented 3 months ago

Example:

// before
<div class={`
  bg-
  ${"black"}
`} />
// after
<div class={`
  bg-${"black"}
`} />