This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
📎 Implement option preserve_quotes
#2482
Labels
A-Formatter
Area: formatter
good first issue
Good for newcomers
I-Normal
Implementation: normal understanding of the tool and awareness
task
A task, an action that needs to be performed
Milestone
Description
See discussion for context: #2465 (comment)
The team agrees that we would give the possibility to preserve the quotes inside the properties an object, if requested.
Given the following input:
The default behaviour will format the snippet like this:
While using the option
--preserve-quotes
will format the snippet like this:Please refer to Prettier's documentation about the option: https://prettier.io/docs/en/options.html#quote-props
The text was updated successfully, but these errors were encountered: