New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@boughtbymany/stylelint-config-bbm

Package Overview
Dependencies
Maintainers
46
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boughtbymany/stylelint-config-bbm

Bought By Many Stylelint Config

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by16.67%
Maintainers
46
Weekly downloads
 
Created
Source

Bought By Many - Stylelint Config

A set of shared configs for Stylelint to help avoid errors and maintain consistency of stylesheets accross the BBM apps.

Installation

npm install --save-dev @boughtbymany/stylelint-config-bbm

Configuration

Create a .stylelintrc file in the root directory with the following content:

{
  "extends": "@boughtbymany/stylelint-config-bbm"
}

Ignoring Code

You can ingnore

  • within files
  • file entirely

Within files

You can temporarily turn off rules using special comments in your CSS. For example, you can either turn all the rules off:

/* stylelint-disable */
a {}
/* stylelint-enable */

You can turn off individual rules:

/* stylelint-disable selector-no-id, declaration-no-important */
#id {
  color: pink !important;
}
/* stylelint-enable selector-no-id, declaration-no-important */

Entire files

You can use a .stylelintignore file in the root directory to ignore specific files, using the same syntax as .gitignore:

**/*.js
vendor/**/*.css

See the config documentation for more info.

Keywords

FAQs

Package last updated on 28 Mar 2021

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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc