Prettier would insert --- for first line comment with --- #8378
Labels
lang:yaml
Issues affecting YAML
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.0.5
Playground link
Input:
# --- comments ---
Output:
--- # --- comments ---
Expected behavior:
keep it as comments
# --- comments ---
The text was updated successfully, but these errors were encountered: