Stylelint and Prettier
Explore how to configure Stylelint with key plugins to maintain CSS and SCSS code quality, and set up Prettier to automate code formatting in Vue projects. Understand how to integrate these tools with editors like VS Code to ensure smooth and consistent styling workflows.
We'll cover the following...
We'll cover the following...
There are a few plugins we need to install to enhance Stylelint’s functionality.
- The
stylelint-config-css-modulesplugin enables css module-specific syntax. - The
stylelint-config-prettierplugin disables rules conflicting with Prettier. - The
stylelint-config-recess-orderplugin sorts CSS properties in a specific order. - The
stylelint-config-standardplugin turns on