DEPRECATED. Check @modyqyw/fabric.
A Stylelint shareable config for CSS/LESS/SCSS. Supports miniprogram.
npm i -D stylelint@~13.8.0 @modyqyw/stylelint-config@~1.0.5
# or
# yarn add -D stylelint@~13.8.0 @modyqyw/stylelint-config@~1.0.5
// ${PROJECT_DIR}/stylelint.config.js
module.exports = {
extends: ["@modyqyw/stylelint-config/css"], // for css
// extends: ["@modyqyw/stylelint-config/less"], // for less
// extends: ["@modyqyw/stylelint-config/scss"], // for scss
};
{
"css.validate": false,
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": true
},
"files.associations": {
"*.wxml": "html",
"*.wxs": "javascript",
"*.wxss": "css",
"*.axml": "html",
"*.sjs": "javascript",
"*.acss": "css",
"*.swan": "html",
"*.ttml": "html",
"*.ttss": "css",
"*.jxml": "html",
"*.jxss": "css",
"*.wpy": "vue",
"*.nvue": "vue",
"*.ux": "vue"
},
"less.validate": false,
"scss.validate": false,
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
}
}
@modyqyw/prettier-config
- Github Gitee@modyqyw/eslint-config
- Github Gitee@modyqyw/stylelint-config
- Github Gitee
@modyqyw/eslint-config
and @modyqyw/stylelint-config
do not use any Prettier
config and plugin, while @modyqyw/fabric
does.
Copyright (c) 2020-present MillCloud