🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
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

latest
npmnpm
Version
1.1.0
Version published
Maintainers
7
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