Socket
Book a DemoInstallSign in
Socket

stylelint-config-recommended-wxss

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-config-recommended-wxss

Recommended shareable WXSS config for stylelint

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
8
700%
Maintainers
1
Weekly downloads
 
Created
Source

兼容小程序 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
  }
}

Keywords

stylelint

FAQs

Package last updated on 13 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts