eslint-plugin-storybook
eslint-plugin-storybook copied to clipboard
unused const warning
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: https://github.com/storybookjs/storybook/issues/11093