Skip to content

Commit

Permalink
update lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersvg committed Jun 20, 2018
1 parent 1f4599a commit ea101b9
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 13 deletions.
7 changes: 3 additions & 4 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { NgModule } from '@angular/core';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { HeroesComponent } from './hero/heroes/heroes.component';
import { DashboardComponent } from './dashboard/dashboard.component';
import { HeroDetailComponent } from './hero/hero-detail/hero-detail.component';
import { HeroesComponent } from './hero/heroes/heroes.component';
import { HeroDetailComponent } from './hero/hero-detail/hero-detail.component';
import { TohDashboardComponent } from './toh-dashboard/toh-dashboard.component';

const routes: Routes = [
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/dashboard.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { TohDashboardComponent } from '../toh-dashboard/toh-dashboard.component'
import { SigninService } from '../signin.service';
import { MessageService } from '../message.service';
import { HeroService } from '../hero/hero.service';
import { InMemoryDataService } from '../in-memory-data.service';
import { InMemoryDataService } from '../in-memory-data.service';

describe('DashboardComponent', () => {
let component: DashboardComponent;
Expand Down
6 changes: 3 additions & 3 deletions src/app/hero-search/hero-search.component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { FormControl } from '@angular/forms';

import { Observable } from 'rxjs/Observable';
import {startWith} from 'rxjs/operators/startWith';
import {map} from 'rxjs/operators/map';
import {startWith} from 'rxjs/operators/startWith';
import {map} from 'rxjs/operators/map';

import {
switchMap
Expand Down
2 changes: 1 addition & 1 deletion src/app/hero/hero-detail/hero-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, OnInit, Input } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Location } from '@angular/common';

import { HeroService } from '../hero.service';
import { HeroService } from '../hero.service';
import { Hero } from '../../hero/hero';

@Component({
Expand Down
2 changes: 1 addition & 1 deletion src/app/hero/heroes/heroes.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { TohDashboardComponent } from '../../toh-dashboard/toh-dashboard.compone
import { SigninService } from '../../signin.service';
import { MessageService } from '../../message.service';
import { HeroService } from '../hero.service';
import { InMemoryDataService } from '../../in-memory-data.service';
import { InMemoryDataService } from '../../in-memory-data.service';

describe('HeroesComponent', () => {
let component: HeroesComponent;
Expand Down
2 changes: 1 addition & 1 deletion src/app/messages/messages.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed, inject } from '@angular/core/testing';
import { async, TestBed, inject } from '@angular/core/testing';

import { MatBottomSheetModule, MatBottomSheet } from '@angular/material/bottom-sheet';

Expand Down
2 changes: 1 addition & 1 deletion src/app/toh-dashboard/toh-dashboard.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('TohDashboardComponent', () => {

beforeEach(() => {
TestBed.configureTestingModule({
declarations: [
declarations: [
TohDashboardComponent,
HeroSearchComponent,
DashboardComponent,
Expand Down
2 changes: 1 addition & 1 deletion src/app/toh-dashboard/toh-dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Component } from '@angular/core';
export class TohDashboardComponent {
cards = [
{ title: 'Card 2', cols: 1, rows: 1 },
{ title: 'Card 3', cols: 1, rows: 2, image: "https://material.angular.io/assets/img/examples/shiba2.jpg" },
{ title: 'Card 3', cols: 1, rows: 2, image: 'https://material.angular.io/assets/img/examples/shiba2.jpg' },
{ title: 'Card 4', cols: 1, rows: 1 }
];
}

0 comments on commit ea101b9

Please sign in to comment.