Latest version of `@typescript-eslint/experimental-utils` breaks the ast-utils import
tombakerjr opened this issue · comments
Describe the bug
The maintainers of @typescript-eslint/experimental-utils
renamed the package to @typescript-eslint/utils
in this release https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/experimental-utils/CHANGELOG.md#5100-2022-01-17, which seems to break the following imports in this plugin:
- https://github.com/storybookjs/eslint-plugin-storybook/blob/main/lib/utils/index.ts#L3
- https://github.com/storybookjs/eslint-plugin-storybook/blob/main/lib/rules/prefer-pascal-case.ts#L6
I believe this can be fixed by switching to what appears to be the intended import: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/src/index.ts#L1
To Reproduce
Steps to reproduce the behavior:
- Run
yarn upgrade
- Attempt to run
yarn build-storybook
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
This should be fixed in v0.5.6
. Thanks for your work @tombakerjr !!