styled-components / stylelint-processor-styled-components

Lint your styled components with stylelint!
https://styled-components.com
MIT License
656 stars 61 forks source link

Add Support for Object Syntax #277

Open igoldny opened 5 years ago

igoldny commented 5 years ago

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'
})
tkforce commented 4 years ago

+1 Supporting object syntax seems reasonable when people use styled-system along with styled-component.

yipei1028 commented 4 years ago

It would be great to have this functionality!

borispoehland commented 3 years ago

+1