Is it possible to turn off stylelint linting in interpolations globally with the styled-components processor enabled? My eslint config should apply for this cases and I don't want my stylelint config to interfere with it. Are there any ways to approach this?
For example, this piece of code will generate an error, because of the CSS value-keyword-case
rule of stylelint. But because it's inside the interpolation (so it's just JS and no CSS), I would like to turn off linting for places like this.
const MyStyling = styled.div`
color: ${props => props.colors.darkPink};
`
What I use:
{
"stylelint": "^9.10.1",
"stylelint-config-standard": "^16.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.5.2"
}