Storp eslint complaining about deps for stories files
This commit is contained in:
parent
b2a509bd0f
commit
71d011d824
2 changed files with 10 additions and 2 deletions
10
.eslintrc
10
.eslintrc
|
@ -77,5 +77,13 @@
|
|||
"__SERVER__": true,
|
||||
"__DISABLE_SSR__": true,
|
||||
"__DEVTOOLS__": true
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.stories.jsx"],
|
||||
"rules": {
|
||||
"import/no-extraneous-dependencies": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
stories: ['../client/**/*.stories.(jsx|js|mdx)'],
|
||||
stories: ['../client/**/*.stories.(jsx|mdx)'],
|
||||
addons: ['@storybook/addon-actions', '@storybook/addon-docs', '@storybook/addon-knobs', '@storybook/addon-links'],
|
||||
webpackFinal: async config => {
|
||||
// do mutation to the config
|
||||
|
|
Loading…
Reference in a new issue