🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

eslint-plugin-styled-components-config

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-styled-components-config

Styled Components config checker

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

eslint-plugin-styled-components-config

Eslint rules for styled-components config

Build Status

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-styled-components-config:

$ npm install eslint-plugin-styled-components-config --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-styled-components-config globally.

Usage

Add display-name-required to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "styled-components-config"
    ]
}

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

{
    "rules": {
        "styled-components-config/rule-name": 2
    }
}

Supported Rules

Author

Dima Pavlovsky

Keywords

eslint

FAQs

Package last updated on 17 Jul 2017

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