2.0.2 • Published 4 years ago
@martylouis/stylelint-config v2.0.2
@martylouis/stylelint-config
An opinionated Stylelint config for writing neat CSS or SCSS. ~~ Now supports TailwindCSS directives.
Installation
1. Install this package with npx
.
npx install-peerdeps --dev @martylouis/stylelint-config
2. Add this to your .stylintrc
{
"extends": "@martylouis/stylelint-config"
}
VS Code AutoFormat setup:
- Install the Stylelint Extension
- Add this to your VS Code
settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true,
}
}