React 18 (#2198)
* Update npm dependencies. * Move @storybook/react to devDependencies. Minor update to recoil. * Exempt stories.tsx files from the extraneous dependency check so that we can use npm audit --omit=dev to get a clearer idea of vulnerabilities present in a production build. * Prettified Code! Co-authored-by: heller <heller@users.noreply.github.com>
This commit is contained in:
@@ -66,6 +66,13 @@ module.exports = {
|
||||
tsx: 'never',
|
||||
},
|
||||
],
|
||||
'import/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{
|
||||
devDependencies: ['**/*.stories.*', '**/.storybook/**/*.*'],
|
||||
peerDependencies: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
|
||||
Reference in New Issue
Block a user