Closed opnarius closed 6 years ago
When adding component, to application that uses traling commas lint rule
app.module.ts before:
app.module.ts
@NgModule({ declarations: [ AppComponent, DashboardComponent, ], imports: [ ], providers: [], entryComponents: [AppComponent], schemas: [], bootstrap: [AppComponent], }) export class AppModule { }
app.module.ts after:
@NgModule({ declarations: [ AppComponent, DashboardComponent,, SignedoutComponent ], imports: [ ], providers: [], entryComponents: [AppComponent], schemas: [], bootstrap: [AppComponent], }) export class AppModule { }
Note extra comma after DashboardComponent, in declarations.
DashboardComponent,
When adding component, to application that uses traling commas lint rule
app.module.ts
before:app.module.ts
after:Note extra comma after
DashboardComponent,
in declarations.