Idered / eslint-plugin-tailwind

ESLint rules for Tailwind CSS
MIT License
100 stars 7 forks source link

Add Twin Macro Support #8

Open hmajid2301 opened 3 years ago

hmajid2301 commented 3 years ago

Added twin.macro support to this plugin so we can lint code like:

tw.div`flex mt-2`

const hoverStyles = css`
  &:hover {
    border-color: black;
    ${tw`text-black`}
  }
`

Fixes #3

Yago commented 3 years ago

@Idered Can we do something to help this PR to be merged and released?

LinnJS commented 2 years ago

Kinda sad to see this feature sit, is there a reason this has not been adopted?