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

@cheesecakelabs/stylelint-config-cheesecakelabs

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cheesecakelabs/stylelint-config-cheesecakelabs

This package provides Cheesecake Lab's .stylelintrc extensible shared config.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
4
Created
Source

stylelint-config-cheesecakelabs

This package provides Cheesecake Lab's .stylelintrc extensible shared config.

Install

with yarn:

yarn add --dev @cheesecakelabs/stylelint-config-cheesecakelabs

or with npm

npm install --save-dev @cheesecakelabs/stylelint-config-cheesecakelabs

Usage

Shareable configs are designed to work with the extends feature of .stylelintrc files. Instead of using a file path for the value of extends, use your module name.

For example:

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

If you want to add a11y rules to your project, use:

{
  "extends": "@cheesecakelabs/stylelint-config-cheesecakelabs/a11y"
}

Observations

All your prettier configurations should be in your .prettierc file. Remember to add the css parser for css files:

{
  "overrides": [
    {
      "files": "*.wxss",
      "options": { "parser": "css" }
    }
  ]
}

Keywords

stylelint

FAQs

Package last updated on 18 Nov 2019

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