8000 refactor(@angular/cli): update main.ts imports to respect Style 03-06 · shmool/angular-cli@815b8f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 815b8f4

Browse files
andreiepurefilipesilva
authored andcommitted
refactor(@angular/cli): update main.ts imports to respect Style 03-06
Consider leaving one empty line between third party imports and application imports. Consider listing import lines alphabetized by the module. https://angular.io/styleguide#!#03-06 Close angular#3863
1 parent fd4cf47 commit 815b8f4

File tree

1 file changed

+3
-2
lines changed
  • packages/@angular/cli/blueprints/ng2/files/__path__

1 file changed

+3
-2
lines changed

packages/@angular/cli/blueprints/ng2/files/__path__/main.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
import { enableProdMode } from '@angular/core';
3-
import { environment } from './environments/environment';
2+
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3+
44
import { AppModule } from './app/app.module';
5+
import { environment } from './environments/environment';
56

67
if (environment.production) {
78
enableProdMode();

0 commit comments

Comments
 (0)
0