typescript-formatter icon indicating copy to clipboard operation
typescript-formatter copied to clipboard

Is there a way to ignore the constructor?

Open vandres opened this issue 5 years ago • 0 comments

I am trying to use this with Angular. I have my constructor DI imports alligned very nicely (because it is exactly 12 chars). I would like to keep that:

constructor(private appAvailability: AppAvailability,
            private platform: Platform,
            private log: LogProvider,
            private iab: InAppBrowser) {
    ...
}

After the formatter it is

constructor(private appAvailability: AppAvailability,
    private platform: Platform,
    private log: LogProvider,
    private iab: InAppBrowser) {
    ...
}

Is there any way to configure the first behaviour?

vandres avatar Feb 11 '20 13:02 vandres