unused const warning
landsman opened this issue · comments
Michal Landsman commented
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
{
"extends": [
"next/core-web-vitals",
"plugin:storybook/recommended"
]
}
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