To be honest I can't understand the documentation or i miss something. It drives me crazy 😑
Steps that i did:
- Installed VSCode
- Installed Prettier plugin
- Opened simply project with couple files (html, css)
- Installed stylelint with
npm install --save-dev stylelint
- Installed stylelint-prettier with
npm install --save-dev stylelint-prettier prettier
- Created .stylelintrc with content:
{
"plugins": ["stylelint-prettier"],
"rules": {
"prettier/prettier": true,
"comment-empty-line-before": "always",
}
}
And what now? Prettier in VSCode didn't fix anything in css files Or maybe I do it completely wrong?
I'm working on Windows 10 machine