Open Samuel-Therrien-Beslogic opened 1 month ago
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.
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:
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.