New eslint-plugin-storybook rule to restrict CSF2 usages and encourage CSF3 #33299
ehoodgoren
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
We're using the latest storybook version - and even though my team mainly works with CSF3, sometimes people still add CSF2 stories, especially AI tools like claude-code. Of course, we could configure this, but it would be nice if we could enforce this standard as a gatekeeper.
Describe the solution you'd like
A new lint rule to restrict CSF2 syntax and encourage CSF3 syntax - for example:
Maybe also "no-redundant-render-function", given that with CSF3 the
renderfunction is not required anymore:Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions