@sujian/stylelint-config
v0.0.4
Published
## usage
Downloads
1
Readme
stylelint-config
usage
pnpm add stylelint @sujian/stylelint-config -D
.stylelintrc.json
{
"extends": "@sujian/stylelint-config"
}
package.json
{
"scripts": {
"lint:style": "stylelint .",
"lint:style-fix": "stylelint . --fix"
}
}
vscode setting
{
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
},
"stylelint.validate": ["css", "scss", "vue", "less"],
}