npm eslint-plugin-storybook 0.6.5
v0.6.5

latest releases: 0.8.0, 0.7.1--canary.151.8c31ca9.0, 0.7.1--canary.150.6bde6fd.0...
19 months ago

Release Notes

story-exports: provide better feedback when using filters (#107)

The story-exports rule now detects whether you are using includeStories/excludeStories and provides a more helpful message in case there are not exported stories. A possible scenario is you have a typo in your includeStories which will result in Storybook not including it:

export default {
  title: 'Button',
  includeStories: ['myStory'], // <-- notice the lowercase m, which won't match with the story name
};

export const MyStory = {};

🐛 Bug Fix

  • story-exports: provide better feedback when using filters #107 (@yannbf)

Authors: 1

Don't miss a new eslint-plugin-storybook release

NewReleases is sending notifications on new releases.