Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 92f54f0

Browse files
committed
ignore .avoid files and fix minor lint issues
1 parent 1c66152 commit 92f54f0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ gulp.task('_zip-examples', function() {
504504
// Linting
505505

506506
gulp.task('lint', function() {
507-
return gulp.src(['./public/docs/_examples/style-guide/ts/**/*.ts'])
507+
return gulp.src(['./public/docs/_examples/style-guide/ts/**/*.ts', '!./public/docs/_examples/style-guide/ts/**/*.avoid.ts'])
508508
.pipe(tslint({
509509
rulesDirectory: ['node_modules/codelyzer'],
510510
configuration: require('./tslint.json')

public/docs/_examples/style-guide/ts/02-07/app/users.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ import { Component } from 'angular2/core';
66
selector: 'admin-users'
77
})
88
export class UsersComponent {}
9-
// #enddocregion example
9+
// #enddocregion example

public/docs/_examples/style-guide/ts/07-01/app/hero.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export class HeroService {
1010

1111
getHeroes() {
1212
return this.http.get('api/heroes')
13-
.map((response: Response) => <Hero[]>response.json().data)
13+
.map((response: Response) => <Hero[]>response.json().data);
1414
}
1515
}

public/docs/_examples/style-guide/ts/07-04/app/hero-arena.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Injectable } from 'angular2/core';
33
import { Http } from 'angular2/http';
44

5-
import { Hero, HeroFactory } from './shared';
5+
import { HeroFactory } from './shared';
66

77
@Injectable()
88
// #docregion example

0 commit comments

Comments
 (0)