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

Prettier removing semi-colons #1896

Open
Dropboy opened this issue Oct 21, 2024 · 2 comments
Open

Prettier removing semi-colons #1896

Dropboy opened this issue Oct 21, 2024 · 2 comments

Comments

@Dropboy
Copy link

Dropboy commented Oct 21, 2024

Hey not sure if this is intended but it looks like semi-colons are being removed in JS tab when using prettier to tidy code - would be good to have an option to disable this as it can lead to wonky results if you're not keeping on top of adding them. Feel free to let me know if there is a way to do this already/why this isn't already a feature happy to learn that I'm wrong!

@oskarkrawczyk
Copy link
Member

Yes, Prettier is... pretty opinionated in this matter. So for now it removes semicolons since it's a popular way of coding these days (including mine), but I'll add an option for the user to pick their way of coding.

@Dropboy
Copy link
Author

Dropboy commented Dec 3, 2024

Understood! Thanks for the update!

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

2 participants