Skip to content
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

Allow Storybook file to import devDependencies packages. #267

Closed
01397 opened this issue May 15, 2024 · 0 comments
Closed

Allow Storybook file to import devDependencies packages. #267

01397 opened this issue May 15, 2024 · 0 comments

Comments

@01397
Copy link

01397 commented May 15, 2024

Summary

Importing devDependencies packages in Storybook files is prohibited by the import/no-extraneous-dependencies rule, but it should not be. Storybook should be added to the allow list, which already contains some file types.

https://github.com/moneyforward/eslint-config-moneyforward/blob/main/rules/imports.js#L79-L100

Context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants