tinloof / eslint-plugin-better-styled-components

ESlint's rules for styled components 💅

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work when using styled() constructor

jwld opened this issue · comments

Great plugin, but would be even greater if it could catch this common use case.

For example the following does not produce an error:

const Button = styled(OtherButton)`
  color: blue;
  background: white;
`

@jwld Please see #2.

Solved by this, thanks to @therealparmesh