@storybook/eslint-config-storybook

4.0.0 • Public • Published

@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"
  }
}

Dependents (1)

Package Sidebar

Install

npm i @storybook/eslint-config-storybook

Weekly Downloads

16,135

Version

4.0.0

License

MIT

Unpacked Size

4.99 kB

Total Files

6

Last publish

Collaborators

  • thafryer
  • shaunlloyd
  • kylegach
  • ndelangen
  • shilman
  • alexandrebodin
  • hypnosphi
  • danielduan
  • igor-dv
  • pksunkara
  • tmeasday
  • gongreg
  • domyen
  • usulpro
  • kylesuss
  • ghengeveld
  • pago
  • dandean
  • mrmckeb
  • dannyhw
  • winkervsbecks
  • amalik2
  • phated
  • yannbf
  • dylanpiercey
  • darleendenno
  • kasperpeulen
  • valentinpalkovic
  • jreinhold