stylelint-processor-styled-components
stylelint-processor-styled-components copied to clipboard
Add Support for Object Syntax
As of v3.3.0 styled-components released object syntax which is also supported by emotion and styletron.
styled:
const Button = styled.button({
color: 'blue'
})
css prop:
const className = css({
color: 'blue'
})
+1 Supporting object syntax seems reasonable when people use styled-system along with styled-component.
It would be great to have this functionality!
+1