@ztjy/stylelint-config

1.1.5 • Public • Published

stylelint-config

Project setup

yarn add @ztjy/stylelint-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.

Readme

Keywords

none

Package Sidebar

Install

npm i @ztjy/stylelint-config

Weekly Downloads

0

Version

1.1.5

License

none

Unpacked Size

10.5 kB

Total Files

14

Last publish

Collaborators

  • zhbhun
  • zhb101511