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

fix(fmt): fix incorrect quotes in components #25249

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

g-plane
Copy link
Contributor

@g-plane g-plane commented Aug 28, 2024

Unlike in dprint, single_quote option is shared between all formatters, so we shouldn't change this option when formatting attributes in components. This PR fixes this.

This problem doesn't affect formatting HTML.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit f6c537f into denoland:main Aug 28, 2024
17 checks passed
@g-plane g-plane deleted the fix-quotes branch August 28, 2024 13:57
lucacasonato pushed a commit that referenced this pull request Aug 29, 2024
Unlike in dprint, `single_quote` option is shared between all
formatters, so we shouldn't change this option when formatting
attributes in components. This PR fixes this.

This problem doesn't affect formatting HTML.
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