0

I have a problem. I don't know how to change settings in Prettier .

This is how it styles now:

  if (currentQuestionNum === MAX_QUESTIONS) btnAns.textContent = "End";

How i want it to be styled:

  if (currentQuestionNum === MAX_QUESTIONS)
     btnAns.textContent = "End";

What setting I need to change?

wojtek
  • 89
  • 9
  • 1
    It might be even not possible with Prettifier, as here: https://stackoverflow.com/questions/65697539/prettier-forces-curlyless-single-line-if-statement-to-be-on-the-same-line-inste – Renat Jan 17 '23 at 09:51

0 Answers0