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

Add prettier/eslint-like "consistent" option for quoteProps #542

Closed
jakebailey opened this issue Jul 21, 2023 · 0 comments · Fixed by #544
Closed

Add prettier/eslint-like "consistent" option for quoteProps #542

jakebailey opened this issue Jul 21, 2023 · 0 comments · Fixed by #544
Labels
enhancement New feature or request

Comments

@jakebailey
Copy link
Contributor

In TS, we have enabled the eslint rule that says "try not to use quotes, but if one prop needs quotes, quote all of them". prettier also has this setting; it'd be great if dprint also had this variant so we could remove a lint rule when we switch over.

Note that "consistent" in both do different things; consistent-as-needed is the right one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants