@storybook/linter-config

v3.1.1
The config storybook uses to lint code
config eslint prettier storybook

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

npm i @storybook/[email protected]

Metadata

  • ISC
  • Whatever
  • Norbert de Langen
  • released 6/25/2021

Downloads