4.0.0 • Published 4 months ago

@storybook/eslint-config-storybook v4.0.0

Weekly downloads
2,485
License
MIT
Repository
github
Last release
4 months ago

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

4 months ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.1.1-beta.0

3 years ago

3.1.0-beta.2

3 years ago

3.1.0-beta.1

3 years ago

3.1.0-beta.0

3 years ago

3.0.0

3 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

5 years ago

1.0.0

5 years ago

0.0.0

5 years ago