Socket
Socket
Sign inDemoInstall

@productboard/stylelint-pb

Package Overview
Dependencies
114
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
4
Maintainers
7
Install size
397 kB
Created
Weekly downloads
 

Readme

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

Last updated on 31 Mar 2019

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc