@storybook/linter-config

The config storybook uses to lint code

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@storybook/linter-config
2703.1.22 years ago4 years agoMinified + gzip package size for @storybook/linter-config in KB

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