stylelint-config-recommended-wxss

    0.1.2 • Public • Published

    stylelint-config-recommended-wxss

    兼容小程序 wxss 扩展的 stylelint 配置设置,扩展自 stylelint-config-recommended

    安装

    npm i -D stylelint styleint-config-recommended-wxss
    

    配置示例

    .stylelintrc

    {
      "extends": "stylelint-config-recommended-wxss"
    }

    和 scss 一起使用

    {
      "extends": "stylelint-config-recommended-wxss",
      "plugins": [
        "stylelint-scss"
      ],
      "rules": {
        "at-rule-no-unknown": null,
        "scss/at-rule-no-unknown": true
      }
    }

    Install

    npm i stylelint-config-recommended-wxss

    DownloadsWeekly Downloads

    5

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    1.68 kB

    Total Files

    3

    Last publish

    Collaborators

    • princetoad