1.0.3 • Published 10 months ago
@sunshj/stylelint-config v1.0.3
@sunshj/stylelint-config
Stylelint Config for @sunshj
Support Vue + css/scss
Usage
npm i -D stylelint @sunshj/stylelint-config{
"scripts": {
"style:lint": "stylelint --cache --fix \"src/**/*.{vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/"
},
"stylelint": {
"extends": "@sunshj/stylelint-config"
}
}VSCode Stylelint Setting
{
"stylelint.validate": [
"css",
"postcss",
"scss",
"vue"
]
}