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