Skip to content

How can I prevent prettier from taking multi-line array to a single line? #352

@ghost

Description

Hi,

I can figure out how to prevent prettier from flatting out the below into a single line.

I want to keep this.
imports: [
BrowserModule,
AppRoutingModule
],

I don't want this.
imports: [ BrowserModule, AppRoutingModule ],

What setting do I need to change? Thank you!!!!!!!!

Karl

Metadata

Metadata

Assignees

No one assigned

    Labels

    lockedLocked due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions