Socket
Book a DemoInstallSign in
Socket

@productboard/stylelint-pb

Package Overview
Dependencies
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@productboard/stylelint-pb

[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors) [![codecov](https://codecov.io/gh/productboardlabs/stylelint-pb/branch/master/graph/badge.svg)](https://codecov.io/gh/productboardlabs/style

1.1.0
latest
npmnpm
Version published
Weekly downloads
3
Maintainers
7
Weekly downloads
 
Created
Source

Stylelint-PB

All Contributors codecov

Set (TODO) of our custom made rules for Stylelint. 🚀

Story

...🍻

Install

yarn add @productboard/stylelint-pb

Rules

smart-color-replacement

It's smart! Configuration needs to be provided in format like bellow. 👇

{
  "@snowWhite": "#f4f5e2"
}

Example configuration. 👇

{
    rules: {
        "@productboard/smart-color-replacement": [
            {
                "@snowWhite": "#f4f5e2"
            }
        ]
    }
}

You can also run this rule in strict mode which means that there is no other color than variable allowed!

{
  "rules": {
    "@productboard/smart-color-replacement": [
      {
        "@white": "#ffffff"
      },
      {
        "strictMode": true
      }
    ]
  }
}

Contributors

Thanks goes to these wonderful people (emoji key):

Jakub Beneš
Jakub Beneš

💻
Tom Dohnal
Tom Dohnal

💻
Pavel Kepka
Pavel Kepka

💻
simon-hrabec
simon-hrabec

💻
Evgeny Karpov
Evgeny Karpov

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 31 Mar 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.