Ternary formatting sometimes uses spaces instead of tabs #15655
Labels
lang:javascript
Issues affecting JS
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
After updating to 3.1.0 with the default ternary formatting, Prettier is sometimes using spaces for indentation even if it's configured to use tabs.
Prettier 3.1.0
Playground link
Input:
Output:
Expected behavior:
It should always use tabs.
The text was updated successfully, but these errors were encountered: