You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I split up my stories for a certain component b/c the file was just getting bigger and bigger but I wanted to have a central file with the meta information like so:
The file should have a default export. eslint(storybook/default-exports)
Should this be working? I also tried to import first and then export default meta then the plugin is not complaining but storybook will tell me: CSF: missing default export
Is it possible to share the meta object and how?
The text was updated successfully, but these errors were encountered:
Hey @pkyeck throughout the years I've never seen users do what you just did! 🤔
I would honestly not recommend doing what you're doing because the Storybook team doesn't really test this internally, so it's possible that some tools in the ecosystem might miss it. But if you feel strongly about it, you could make a PR to the eslint plugin to support this use case, and I can help you get it merged.
Describe the bug
I split up my stories for a certain component b/c the file was just getting bigger and bigger but I wanted to have a central file with the meta information like so:
but the plugin is complaining that
Should this be working? I also tried to
import
first and thenexport default meta
then the plugin is not complaining but storybook will tell me:CSF: missing default export
Is it possible to share the meta object and how?
The text was updated successfully, but these errors were encountered: