Skip to content

fix: move eslint-plugin-storybook to optional peer dependency#558

Merged
mergify[bot] merged 1 commit intomainfrom
fix/storybook-optional-peer-dep
Apr 8, 2026
Merged

fix: move eslint-plugin-storybook to optional peer dependency#558
mergify[bot] merged 1 commit intomainfrom
fix/storybook-optional-peer-dep

Conversation

@JoshTheWanderer
Copy link
Copy Markdown
Member

@JoshTheWanderer JoshTheWanderer commented Apr 8, 2026

Summary

  • Moves eslint-plugin-storybook from dependencies to an optional peerDependency, consistent with how eslint-plugin-react, eslint-plugin-jsx-a11y, and other environment-specific plugins are handled
  • Adds eslint-plugin-storybook to devDependencies for local development/CI
  • Updates README with per-config peer dependency requirements so consumers know exactly what to install

eslint-plugin-storybook was inconsistently listed as a hard dependency
while similar plugins (react, jsx-a11y) were optional peer dependencies.
This moves it to match, and updates the README with per-config dependency
lists.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@mergify mergify bot requested review from a team and annie-seaward and removed request for a team April 8, 2026 14:28
@mergify mergify bot requested a review from a team April 8, 2026 14:28
@mergify mergify bot merged commit 8c83178 into main Apr 8, 2026
13 checks passed
@mergify mergify bot deleted the fix/storybook-optional-peer-dep branch April 8, 2026 14:48
@mergify mergify bot requested a review from a team April 8, 2026 14:48
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

🎉 This PR is included in version 3.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants