gilbarbara / codeclimate-stylelint

A Code Climate engine for the mighty, modern CSS linter
24 stars 18 forks source link

Support for styled-components #25

Closed dpuscher closed 5 years ago

dpuscher commented 5 years ago

styled-components is a popular css-in-js library and stylelint is the tool of choice to do linting of the css parts.

The official documentation has detailed instructions on how to setup linting. For CodeClimate to work with it, we need to add support for the following packages:

Processors:

Configs:

Documentation: https://www.styled-components.com/docs/tooling#stylelint

gilbarbara commented 5 years ago

Hey,

I will take a look at this when I have some spare time. Feel free to submit a PR.

gilbarbara commented 5 years ago

Added in 2.2.0