🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@chancedigital/stylelint-config

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chancedigital/stylelint-config

Shareable configuration for stylelint following Chance Digital Coding Standards.

latest
Source
npmnpm
Version
5.0.1
Version published
Maintainers
1
Created
Source

Chance Digital stylelint Config

Greenkeeper badge

Shareable configuration for stylelint following Chance Digital Coding Standards.

Installation

You should install this configuration along with its peerDependencies as devDependencies in your project:

yarn add -D @chancedigital/stylelint-config stylelint

If you're planning to use the SCSS superset of rules, you should also install stylelint-scss:

yarn add -D stylelint-scss

Usage

Extend the configuration from your project's stylelint configuration:

{
  "extends": "@chancedigital/stylelint-config"
}

Or, if your project uses SCSS and you want to opt in to additional SCSS-specific rules, extend the scss superset:

{
  "extends": "@chancedigital/stylelint-config/scss"
}

If you are working on a WordPress project, extend the wp superset:

{
  "extends": "@chancedigital/stylelint-config/wp"
}

Extending the configuration

Add a "rules" key to your config file, then add your overrides and additions there.

{
  "extends": "@chancedigital/stylelint-config/scss",
  "rules": {
    "at-rule-no-unknown": true,
  }
}

Keywords

stylelint

FAQs

Package last updated on 19 Jul 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