WarWithinMe/better-align

[BUG] Align adds unnecessary leading space every time.

JiaChen-Zeng opened this issue · 0 comments

Align this code.

           articlesSubject$: Subject<Article[]>;
           articles$       : Observable<Article[]>; // Final Observable
  readonly nextFunc        : (value: Article[]) => void = v => this.articlesSubject$.next(v);

Gives.

                    articlesSubject$: Subject<Article[]>;
                    articles$       : Observable<Article[]>;                                            // Final Observable
           readonly nextFunc        : (value: Article[]) => void = v => this.articlesSubject$.next(v);

Align again.

                             articlesSubject$: Subject<Article[]>;
                             articles$       : Observable<Article[]>;                                            // Final Observable
                    readonly nextFunc        : (value: Article[]) => void = v => this.articlesSubject$.next(v);

This aligns normally.

           articlesSubject$: Subject<Article[]>;
           articles$       : Observable<Article[]>;  // Final Observable
  readonly nextFunc = v => this.articlesSubject$.next(v);