Skip to content

Commit 64f4e16

Browse files
committed
Linting done
1 parent 942c04e commit 64f4e16

File tree

16 files changed

+61
-64
lines changed

16 files changed

+61
-64
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![dependencies](https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/package.json)
55
[![updates](https://img.shields.io/badge/updates-weekly-yellowgreen.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/commits/master)
66
[![stars](https://img.shields.io/github/stars/jeroenouw/AngularMaterialFirebase.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/stargazers)
7-
[![downloads](https://img.shields.io/npm/dm/ngxmatfire.svg)]()
7+
[![downloads](https://img.shields.io/npm/dy/ngxmatfire.svg)]()
88

99
![logo](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmd.png "Logo")
1010

@@ -15,16 +15,16 @@ A full stack starter app containing [Angular 4](https://angular.io) (v4.4.0-RC.0
1515
![loginpage](https://jerouw.nl/wp-content/uploads/2017/05/ngfbmdprintscreen.png "Logo")
1616

1717
## Quick start & Development
18-
[Get started now](https://github.com/jeroenouw/Angular4MaterialDesign/blob/master/docs/DEVELOPER.md)
18+
[Get started now](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/DEVELOPER.md)
1919

2020
## Features
21-
[Everything included in this project](https://github.com/jeroenouw/Angular4MaterialDesign/blob/master/docs/FEATURES.md)
21+
[Everything included in this project](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/FEATURES.md)
2222

2323
## Future updates
24-
[To do and finish list](https://github.com/jeroenouw/Angular4MaterialDesign/blob/master/docs/TODO.md)
24+
[To do and finish list](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/docs/TODO.md)
2525

2626
## Contributing
2727
Want to file a bug, contribute some code, or improve documentation? Feel free to place an [issue](https://github.com/jeroenouw/AngularMaterialFirebase/issues).
2828

2929
## License
30-
[![npmlicense](https://img.shields.io/npm/l/ng4matfire.svg)](https://github.com/jeroenouw/Angular4MaterialDesign/blob/master/LICENSE/)
30+
[![npmlicense](https://img.shields.io/npm/l/ng4matfire.svg)](https://github.com/jeroenouw/AngularMaterialFirebase/blob/master/LICENSE/)

src/app/components/auth/phone-signin/phone-signin.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class PhoneSigninComponent implements OnInit {
2121
constructor(private win: WindowService,
2222
private router: Router,
2323
private authService: AuthService,
24-
private alertService: AlertService) {
24+
private alertService: AlertService) {
2525
this.isAuthenticated = this.authService.isAuthenticated()
2626
}
2727

@@ -48,15 +48,15 @@ export class PhoneSigninComponent implements OnInit {
4848
.confirm(this.verificationCode)
4949
.then((result) => {
5050
const currentUser = result.user;
51-
})
51+
})
5252
.then(response => {
5353
this.router.navigate(['/']);
5454
firebase.auth().currentUser.getIdToken()
5555
.then(
5656
(token: string) => this.token = token
5757
);
5858
this.alertService.showToaster('Login code is entered');
59-
})
60-
.catch( error => console.log(error, "Incorrect code entered?"));
59+
})
60+
.catch( error => console.log(error, 'Incorrect code entered?'));
6161
}
6262
}

src/app/components/auth/signin.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { AlertService, AuthService } from '../shared';
99
styleUrls: ['./signin.component.scss']
1010
})
1111
export class SigninComponent implements OnInit {
12-
@Input() loading: boolean = false;
12+
@Input() loading = false;
1313

1414
constructor(
1515
private authService: AuthService,

src/app/components/blocks/card-block/card-block.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { Component } from '@angular/core';
66
styleUrls: ['./card-block.component.scss']
77
})
88
export class CardBlockComponent {
9-
titleCard: string = 'Angular';
10-
numberCard: number = 4;
11-
subTitleCard: string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nisl ligula.';
12-
contentCard: string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nisl ligula.';
9+
titleCard = 'Angular';
10+
numberCard = 4;
11+
subTitleCard = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nisl ligula.';
12+
contentCard = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nisl ligula.';
1313
angularImage: string;
1414

1515
constructor() {

src/app/components/blocks/first-block/first-block.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component } from '@angular/core';
66
styleUrls: ['./first-block.component.scss']
77
})
88
export class FirstBlockComponent {
9-
titleOne: string = 'Starter kit';
10-
contentOne: string = 'Angular 4 | Material Design | Firebase (0Auth authentication and NoSQL database)';
9+
titleOne = 'Starter kit';
10+
contentOne = 'Angular 4 | Material Design | Firebase (0Auth authentication and NoSQL database)';
1111

1212
}

src/app/components/blocks/second-block/second-block.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component } from '@angular/core';
66
styleUrls: ['./second-block.component.scss']
77
})
88
export class SecondBlockComponent {
9-
titleTwo: string = 'Authentication and Database';
10-
contentTwo: string = 'Provided by Firebase';
9+
titleTwo = 'Authentication and Database';
10+
contentTwo = 'Provided by Firebase';
1111

1212
}

src/app/components/blocks/third-block/third-block.component.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import { Component } from '@angular/core';
66
styleUrls: ['./third-block.component.scss']
77
})
88
export class ThirdBlockComponent {
9-
titleThree: string = 'Angular 4';
10-
contentThree: string = 'Angular is a framework for building client applications in HTML and TypeScript that compiles to JavaScript.';
9+
titleThree = 'Angular 4';
10+
contentThree = 'Angular is a framework for building client applications in HTML and TypeScript that compiles to JavaScript.';
1111

12-
titleFour: string = 'Material 2';
13-
contentFour: string = 'Material Design is a unified system that combines theory, resources, and tools for crafting digital experiences.';
12+
titleFour = 'Material 2';
13+
contentFour = 'Material Design is a unified system that combines theory, resources, and tools for crafting digital experiences.';
1414

15-
titleFive: string = 'Firebase';
16-
contentFive: string = 'Firebase is built on Google infrastructure and scales automatically, for even the largest apps.';
15+
titleFive = 'Firebase';
16+
contentFive = 'Firebase is built on Google infrastructure and scales automatically, for even the largest apps.';
1717
}

src/app/components/messages/message.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class MessageService {
1515
// this.messages = this.firebase.database.list('messages');
1616
// let messages = firebase.database().ref().child('messages/');
1717
}
18-
18+
1919
sendMessage(message, text) {
2020
return firebase.database().ref().child('messages/' + message).push({
2121
message: text,

src/app/components/messages/messages.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ export class MessagesComponent implements OnInit, AfterViewChecked {
5757
this.messageService.sendMessage('', this.newMessage);
5858
this.newMessage = '';
5959
}
60-
60+
6161
}

src/app/components/misc/misc.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3>MD Datepicker : </h3>
2323
<input mdInput [mdDatepicker]="picker" placeholder="Choose a date">
2424
<md-datepicker-toggle mdSuffix [for]="picker"></md-datepicker-toggle>
2525
<md-datepicker #picker></md-datepicker>
26-
</md-form-field>>
26+
</md-form-field>
2727

2828
<hr>
2929

0 commit comments

Comments
 (0)