@pengzhanbo/stylelint-config
v1.21.0
Published
The stylelint config preset.
Downloads
266
Readme
@pengzhanbo/stylelint-config
The stylelint config preset.
Usage
Install
pnpm add -D @pengzhanbo/stylelint-config
Config
In .stylelintrc.json
{
"extends": "@pengzhanbo/stylelint-config"
}
vs Code support (auto fix)
{
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"stylelint.validate": [
"css",
"scss",
"postcss",
// optional
"vue"
],
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit"
}
}