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

Remove .vscode folders that were probably commited by mistake #15

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

fvsch
Copy link
Contributor

@fvsch fvsch commented Aug 31, 2023

We have .vscode folders in 4 templates:

  • In two templates (egg and slidev), these look like the generic .vscode/settings.json file generated by the StackBlitz classic editor when clicking the “Workspace Settings” button. (IMHO this button should not generate a file that gets saved, and/or should be removed, because it leads to a lot of useless cruft in our users's projects… and apparently in our own starter projects too.)

  • In two templates (gsap-svelte and quasar ), they mostly contain deliberate lists of extensions. I erred on the side of keeping them, though I'm not sure why we would have them for those templates and not for others. Looking at the Vite templates, they don't have .vscode folders except for the Svelte and Vue templates, so again it's a mixed bag.

Comment on lines +10 to +13
# Ignore vscode config folder, except in specific templates
.vscode
!/gsap-svelte/.vscode
!/quasar/.vscode
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Erring on the side of ignoring all .vscode folders so we don't accidentally commit them, but listing exceptions for templates where we want to commit them.

@sulco sulco self-requested a review September 1, 2023 14:18
@fvsch fvsch merged commit ad31a0e into main Sep 1, 2023
1 check passed
@fvsch fvsch deleted the fvsch/cleanup-vscode-folders branch September 1, 2023 15:00
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

Successfully merging this pull request may close these issues.

2 participants