0

My typescript code is setup with eslint-prettier. I'd like to have the option of formatting my functions to look like this:

function Name(){

    // First line
    ...
}

... rather than always having to look like this:

function Name(){
    // First line
    ...
}

Is there a setting within prettier and/or ESLint to enable this?

Magnus
  • 3,086
  • 2
  • 29
  • 51

0 Answers0