1.0.1 • Published 2 years ago

@finter/stylelint-plugin v1.0.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

stylelint-config

快速开始

安装

<npm|yarn|pnpm> add -D stylelint @finter/stylelint-config

使用

创建一个 .stylelintrc.json 文件在项目根目录,然后复制下面的代码到这个文件中(如果要对 less 或 scss 等文件使用,需要配置 customSyntax 字段):

{
  "extends": [
    "@finter/stylelint-config"
  ],
  # less
  "customSyntax": "postcss-less"
  # scss
  "customSyntax": "postcss-scss"
}

内置依赖