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:
styled-components
is a popular css-in-js library andstylelint
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:
stylelint-processor-styled-components
Configs:
stylelint-config-styled-components
stylelint-config-recommended
Documentation: https://www.styled-components.com/docs/tooling#stylelint