Open
Description
Describe the bug
The csf-strict preset isn't restricted to stories, unlike the csf and recommended presets. This causes the following two rules to be disabled everywhere:
'react-hooks/rules-of-hooks': 'off',
'import/no-anonymous-default-export': 'off',
To Reproduce
https://github.com/storybookjs/eslint-plugin-storybook/blob/main/lib/configs/csf-strict.ts
Expected behavior
csf-strict preset to be applied only to stories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels