Build a .prettierrc file interactively. Toggle options, watch a live sample format in real time, then copy the config as JSON, JSON5, YAML, or a package.json field.
' instead of " for strings.{ foo } vs {foo}.> of multiline HTML/JSX on the last line.An approximation showing how semi, quotes, tab width, trailing commas, and bracket spacing affect output.