What version of stylelint, prettier and stylelint-prettier are you using?
"prettier": "^1.15.3",
"stylelint": "^9.10.1",
"stylelint-config-concentric-order": "^3.4.1",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-prettier": "^1.0.6",
"stylelint-processor-styled-components": "^1.5.2",
Please paste any applicable config files that you're using (e.g. .prettierrc or .stylelintrc files)
.prettierrc
{
"singleQuote": true,
"printWidth": 120,
"tabWidth": 4
}
.stylelintrc
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components",
"stylelint-config-concentric-order",
"stylelint-prettier/recommended"
],
"plugins": ["stylelint-prettier"],
"rules": {
"prettier/prettier": true
}
}
What source code are you linting?
const Wrapper = styled.div` margin: 0 auto; `;
What did you expect to happen?
What actually happened?
Parsing error: Declaration or statement expected.stylelint(prettier/prettier)
Getting this error when running stylelint in the terminal and in VSC itself

The error does not happen if i use this syntax
const Wrapper = styled(Image)`
margin: 0 auto;
`;
What version of
stylelint,prettierandstylelint-prettierare you using?Please paste any applicable config files that you're using (e.g.
.prettierrcor.stylelintrcfiles).prettierrc.stylelintrcWhat source code are you linting?
const Wrapper = styled.div` margin: 0 auto; `;What did you expect to happen?
What actually happened?
Parsing error: Declaration or statement expected.stylelint(prettier/prettier)Getting this error when running
stylelintin the terminal and in VSC itselfThe error does not happen if i use this syntax