Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including stylelint-config-standard-wxss with all npm packages installed. Try it out:

require("stylelint/package.json"); // stylelint is a peer dependency. var stylelintConfigStandardWxss = require("stylelint-config-standard-wxss")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

stylelint-config-standard-wxss v0.1.1

Standard shareable WXSS config for stylelint

stylelint-config-standard-wxss

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

安装

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

配置示例

.stylelintrc

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

和 scss 一起使用

{
  "extends": "stylelint-config-standard-wxss",
  "plugins": [
    "stylelint-scss"
  ],
  "rules": {
    "at-rule-no-unknown": null,
    "scss/at-rule-no-unknown": true
  }
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free