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

Inaccurate eslint peer dependency version range #185

Open
zacowan opened this issue Dec 13, 2024 · 0 comments
Open

Inaccurate eslint peer dependency version range #185

zacowan opened this issue Dec 13, 2024 · 0 comments

Comments

@zacowan
Copy link

zacowan commented Dec 13, 2024

Describe the bug
This package declares it requires a peer of eslint>=6 - this is inaccurate, as v8 of @typescript-eslint/utils (a non-dev dependency of this plugin) requires eslint>=8 (technically, 8.57.0): https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/utils/package.json#L72

Using a version of eslint older than 8 will cause linting to fail.

To Reproduce

  1. Use eslint@7 in a project
  2. Install eslint-plugin-storybook >= 0.10.0
  3. Ensure that the rules for the plugin are invoked and notice the error

Expected behavior
Peer dependencies should reflect the supported versions of eslint for all non-dev dependencies.

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

1 participant