Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bem-react/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bem-react/eslint-plugin

ESLint plugin for projects based on BEM React

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
decreased by-45.95%
Maintainers
4
Weekly downloads
 
Created
Source

@bem-react/eslint-plugin

Plugin for checking some things in projects based on BEM React.

Usage

Add @bem-react to the plugins section of your .eslintrc configuration file:

{
    "plugins": [
        "@bem-react"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "@bem-react/whitelist-levels-imports": ["error", {
            "defaultLevel": "common",
            "whiteList": {
                "common": ["common"],
                "desktop": ["common", "desktop"],
                "mobile": ["common", "mobile"]
            }
        }]
    }
}

Supported Rules

Currently only one rule is supported:

Keywords

FAQs

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

  • 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