1.0.1 • Published 4 years ago
@ztjy/commitlint-config v1.0.1
commitlint-config
Project setup
yarn add @ztjy/commitlint-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.