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

CLI: Never prompt for ESLint plugin #25289

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Dec 20, 2023

Closes N/A

What I did

We've spent a lot of time on the onboarding flow, but the current prompt to install the ESLint plugin really sticks out like a sore thumb to me. Our CLI spends a lot of time downloading stuff, then I get this prompt for something minor, and then I have to wait for the rest of the installation process.

We should either always install it (this PR) or never. We could (and should!) also improve install perf AND improve the prompting UI but that is a bigger project.

image

Checklist for Contributors

Testing

Install Storybook in a fresh Vite project (or any project that uses ESlint).

🦋 Canary release

This PR does not have a canary release associated. You can request a canary release of this pull request by mentioning the @storybookjs/core team here.

core team members can create a canary release here or locally with gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=<PR_NUMBER>

@shilman shilman self-assigned this Jan 8, 2024
@shilman shilman merged commit 4335bf3 into next Jan 8, 2024
56 checks passed
@shilman shilman deleted the shilman/remove-eslint-prompt branch January 8, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:normal cli maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants