1

How can I config prettier to format long lines like this:

  return src(`${jsFolder}/libraries/*.js`, { since: lastRun(jsCopyTask) })
    .pipe(dest(`${distFolder}/assets/js`))

And not like this:

  return src(`${jsFolder}/libraries/*.js`, { since: lastRun(jsCopyTask) }).pipe(
    dest(`${distFolder}/assets/js`)
  )

Here Prettier is breaking the function args instead of the chain functions.

If this is not possible using Prettier is there an alternative for this?

Dharman
  • 30,962
  • 25
  • 85
  • 135
Renaud is Not Bill Gates
  • 1,684
  • 34
  • 105
  • 191

0 Answers0