-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unused const warning #144
Comments
This would be a helpful feature for me too. I'm using PhpStorm's "Inspect Code" feature, and this causes my results to be cluttered. |
This issue is the only blemish on an otherwise perfect 'storybook' setup, will be highly appreciated if it can be fixed, or otherwise if there is a work-around recommended for it... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I can see warnings in my stories about unused constants.
I think that this should be covered by this package, plugin.
my .eslintrc.json
workaround is to put above ignore:
// @ts-ignore unused
but it's ugly. Please suggest the correct way.I'm using next.js 13+ and app router, but most of mine stories are in directory:
./src/components
.Related question: storybookjs/storybook#11093
The text was updated successfully, but these errors were encountered: