typescript-formatter
typescript-formatter copied to clipboard
Is there a way to ignore the constructor?
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?