Skip to content

Commit

Permalink
fix: Allow import of devDependency modules in Storybook files (#279)
Browse files Browse the repository at this point in the history
* fix: Allow import of devDependency modules in Storybook files

* Update rules/imports.js

Co-authored-by: Naoto Togawa@こまちょ <52874708+tongari07@users.noreply.github.com>

---------

Co-authored-by: Naoto Togawa@こまちょ <52874708+tongari07@users.noreply.github.com>
  • Loading branch information
wakamsha and tongari07 authored May 29, 2024
1 parent 5e5ce78 commit 1503dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ module.exports = {
'**/karma.conf.js', // karma config
'**/.eslintrc.js', // eslint config
'**/eslint-rules/**',
'**/.storybook/**', // storybook config
'**/*.stories.{js,jsx,ts,tsx,mdx}', // storybook stories
],
optionalDependencies: false,
},
Expand Down

0 comments on commit 1503dbe

Please sign in to comment.