@ztjy/stylelint-config
v1.1.5
Published
## Project setup ``` yarn add @ztjy/stylelint-config -D ```
Downloads
24
Readme
stylelint-config
Project setup
yarn add @ztjy/stylelint-config -DCompiles and hot-reloads for development
1.项目根目录新建.stylelintrc.js
module.exports = {
extends: ['@ztjy/stylelint-config'],
"rules": {
"indentation": 4 // 配置区域
}
}2、格式化单个文件
npx stylelint src/demo.css --fixCustomize configuration
See stylelint Rules.
