Skip to content

v0.6.5

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Oct 10:58

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