Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dzo/stylelint-config-esdz

Package Overview
Dependencies
Maintainers
6
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dzo/stylelint-config-esdz

前端stylelint规范,支持css|less

latest
npmnpm
Version
0.0.1
Version published
Maintainers
6
Created
Source

stylelint 规范

前端 stylelint 规范,目前支持css|less

安装

npm install @dzo/stylelint-config-esdz -D

# OR
yarn add @dzo/stylelint-config-esdz --dev

使用

在你的工程根目录下创建一个.eslintrc.js配置文件

配置如下:

  • 基础配置
module.exports = {
  extends: ['@dzo/stylelint-config-esdz']
}

:::caution 如果项目之前安装过 ESLint 相关的包,建议卸载,避免引入不必要的包。如stylelintstylelint-config-standardstylelint-order等,直接在 package.json 搜索stylelint,相关的包全部卸载 :::

版本更新

Keywords

stylelint

FAQs

Package last updated on 11 Feb 2022

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