-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Update eslint-plugin-storybook to 10.1.11 #74317
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
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 2.59 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 214cb46. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/20642954843
|
manzoorwanijk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially did it but then reverted to reduce the number of changes in my PR. Thank you for the follow up.
|
Since this PR, my ESLint extension plugin no longer works in my code editor (Cursor) and outputs the following error:
Perhaps it's related to the fact that Storybook 10 now only supports ESM? In fact, if I downgrade |
This happens because you can't |
Proposing this in #74342. |
|
@jsnajdr Thanks for the information.
Unfortunately, this didn't work for me, possibly because I'm using Volta. Instead, I was able to solve the problem by writing the following settings to {
"eslint.runtime": "/path/to/.volta/tools/image/node/22.21.1/bin/node"
} |
It seems to be fine on lates trunk - 6c90b9e |
* Update eslint-plugin-storybook to 10.1.11 * Re-enable lint rule * Change everything to `@storybook/react-webpack5` * Clean up unnecessary deps Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>

What?
Stacked on #74316
Follow-up to #74143
Updates
eslint-plugin-storybookto the latest 10.1.11.Why?
To better match usage of newer Storybook versions.
The new plugin adds lint rules for renderer packages, so they are fixed here as well:
Testing Instructions
Lint check passes.