Socket
Socket
Sign inDemoInstall

@storybook/eslint-config-storybook

Package Overview
Dependencies
1
Maintainers
29
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @storybook/eslint-config-storybook

tiny wrapper because eslint really really wants a package name that contains eslint-config-


Version published
Weekly downloads
13K
decreased by-11.85%
Maintainers
29
Install size
41.2 MB
Created
Weekly downloads
 

Readme

Source

@storybook/eslint-config-storybook

Thin wrapper around our @storybook/linter-config package, because eslint really really likes this package name for discoverability.

Installation

You'll first need to install ESLint:

# npm
npm install eslint --save-dev

# yarn
yarn add eslint --dev

Next, install @storybook/eslint-config-storybook:

# npm
npm install @storybook/eslint-config-storybook --save-dev

# yarn
yarn add @storybook/eslint-config-storybook --dev

Usage

Add @storybook/eslint-config-storybook to the extends section of your .eslintrc configuration file.

{
  "extends": ["@storybook/eslint-config-storybook"]
}

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

{
  "rules": {
    "react/prop-types": "off"
  }
}

Keywords

FAQs

Last updated on 15 Jan 2024

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