What version of stylelint, prettier and stylelint-prettier are you using?
"devDependencies": {
"prettier": "^1.15.2",
"stylelint": "^9.8.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-prettier": "^1.0.5"
}
Please paste any applicable config files that you're using (e.g. .prettierrc or .stylelintrc files)
{
"extends": [
"stylelint-prettier/recommended"
]
}
What source code are you linting?
Any vue file.
What did you expect to happen?
To format/lint the file.
What actually happened?
TypeError: Cannot read property 'append' of undefined
at Document.append (/Users/Suah/WebstormProjects/asdf/node_modules/postcss-syntax/document.js:16:13)
at /Users/Suah/WebstormProjects/asdf/node_modules/stylelint-prettier/stylelint-prettier.js:139:14
at Promise.resolve.then (/Users/Suah/WebstormProjects/asdf/node_modules/stylelint/lib/lintSource.js:230:9)
at <anonymous>
What version of
stylelint,prettierandstylelint-prettierare you using?Please paste any applicable config files that you're using (e.g.
.prettierrcor.stylelintrcfiles)What source code are you linting?
Any vue file.
What did you expect to happen?
To format/lint the file.
What actually happened?