stylelint-processor-styled-components icon indicating copy to clipboard operation
stylelint-processor-styled-components copied to clipboard

Lint your styled components with stylelint!

Results 22 stylelint-processor-styled-components issues
Sort by recently updated
recently updated
newest added

Would it be possible to prevent outputting invalid CSS properties that would fail a CSS syntax validation plugin such as [csstree/stylelint-validator](https://github.com/csstree/stylelint-validator)? An example of this would be when using a...

discussion

Styled components now supports the css prop via a babel plugin. Currently these blocks are not detected by this processor preventing inline css from being linted. Would be great if...

help welcome

This is a bit of a selfish PR, but I was thinking we could be just a bit smarter about guessing whether an interpolation is a selector or not. I...

I'm trying to write an in-house stylelint rule that we want to apply to mixins, e.g. ``` const mixin = css` /* Linter rule SHOULD apply here */ `; ```...

enhancement

Every case of specified imported can be skipped by #258. If only 1 or part of them, we should support ignore comments like `stylelint-disable`.

help welcome

As suggested in #228, hope this processor read babel configurations from `.babelrc` or `package.json`. Something needs to be confirmed: - are there other config ways should be considered? Like unnormal...

enhancement

I just installed [styled-components-breakpoint](https://github.com/jameslnewell/styled-components-breakpoint) inside of my project and noticed the following: CSS inside of breakpoint declarations doesn't get linted. This is my code: ![screen shot 2018-05-14 at 14 06...

The following two components defined in the same file results in an error: **Components** ```javascript const Layout = styled(HSpreadLayout)` > *:first-child { padding: 1.25rem; } ` const NavList = styled(HList)`...

help welcome

Hi. Not sure this issue might belong to `stylelint-processor-styled-components` but in fact linter ignores css within `styled-is` and `media` mixins described [here](https://github.com/styled-components/styled-components/blob/master/docs/tips-and-tricks.md#media-templates). Please see the code snippet below which represents...

hello, i try to lint my styled components with [stylelint order plugin](https://github.com/hudochenkov/stylelint-order) and i don't know how to tag my tagged template literals i use for media queries. my example...

enhancement