Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@storybook/linter-config

storybookjs71.4kISC4.0.0

The config storybook uses to lint code

config, eslint, prettier, storybook

readme

Storybook's eslint & prettier config

We like our code the way it is. This is how we like it.

If you like it this way too, feel free to use it.

All contributions are welcome.

ESlint

config can be found at: ./eslint.config.js

We extend from:

  • airbnb
  • plugin:jest/recommended
  • plugin:import/react-native
  • plugin:@typescript-eslint/recommended
  • prettier
  • prettier/react
  • prettier/@typescript-eslint

We have plugins for:

  • @typescript-eslint
  • prettier
  • jest
  • import
  • react
  • jsx-a11y
  • json
  • html

Prettier

config can be found at ./prettier.config.js

Remark

config can be found at ./remark.config.js

changelog