@hxyfe/stylelint-config
v1.0.0
Published
stylelint config
Downloads
6
Readme
Stylelint Config
Install
NPM
npm i @meicloud/stylelint-config stylelint -D
YARN
yarn add @meicloud/stylelint-config stylelint --dev
Usage
给 package.json
添加
"scripts": {
"lint:style": "stylelint src/**/*.css src/**/*.vue src/**/*.less src/**/*.sass"
},
"stylelint": {
"extends": [
"@meicloud/stylelint-config"
]
},
可以运行 npm run lint:style -- --fix
进行代码修复