Skip to content

Commit

Permalink
Merge pull request #10 from brunolm/feature/prettier
Browse files Browse the repository at this point in the history
Feature/prettier
  • Loading branch information
brunolm authored Jun 16, 2018
2 parents 7874730 + 70bdae0 commit bafe5b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parser": "typescript",
"arrowParens": "always",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Each Pull Request will contain explanation and steps taken to complete a feature
## New project

- [Create a new Angular project](https://github.com/brunolm/angular-how-to/pull/1)
- [Add prettier config](https://github.com/brunolm/angular-how-to/pull/10)

### Upgrades

- ~~[Upgrade from Angular 4 to Angular 5](https://github.com/brunolm/angular-how-to/pull/6)~~
- [Upgrade from Angular 5 to Angular 6](https://github.com/brunolm/angular-how-to/commit/ffa5b2dbfd88f0846ad0bd4b158b4b44a7044bdf)
- [Upgrade @angular-cli](https://github.com/brunolm/angular-how-to/pull/8)
Expand Down
18 changes: 5 additions & 13 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';
import { AppRoutingModule } from './app.router';
import { LayoutComponent } from './shared/layout/layout.component';
import { RouterModule } from '@angular/router';
import { SharedModule } from './shared/shared.module';

@NgModule({
declarations: [
AppComponent,
],
imports: [
AppRoutingModule,
BrowserModule,
SharedModule,
],
declarations: [AppComponent],
imports: [AppRoutingModule, BrowserModule, SharedModule],
providers: [],
bootstrap: [AppComponent]
bootstrap: [AppComponent],
})
export class AppModule { }
export class AppModule {}

0 comments on commit bafe5b7

Please sign in to comment.