Skip to content

Commit 269cf42

Browse files
vicbIgorMinar
authored andcommitted
build: add the tslint gulp task (angular#14481)
1 parent 8b81bb1 commit 269cf42

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ gulp.task('format', loadTask('format', 'format'));
2929
gulp.task('build.sh', loadTask('build'));
3030
gulp.task('public-api:enforce', loadTask('public-api', 'enforce'));
3131
gulp.task('public-api:update', ['build.sh'], loadTask('public-api', 'update'));
32-
gulp.task('lint', ['format:enforce', 'tools:build', 'validate-commit-messages'], loadTask('lint'));
32+
gulp.task('lint', ['format:enforce', 'validate-commit-messages', 'tslint']);
33+
gulp.task('tslint', ['tools:build'], loadTask('lint'));
3334
gulp.task('validate-commit-messages', loadTask('validate-commit-message'));
3435
gulp.task('tools:build', loadTask('tools-build'));
3536
gulp.task('check-cycle', loadTask('check-cycle'));

tools/gulp-tasks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737
The tasks are loaded in the gulp file, by requiring them. There is a helper called `loadTask(fileName, taskName)`
3838
will do this for us, where the `taskName` is optional if the file only exports one task.
3939

40-
E.g. Loading the task that will run the build, from a task file that contans only one task.
40+
E.g. Loading the task that will run the build, from a task file that contains only one task.
4141

4242
```js
4343
gulp.task('build.sh', loadTask('build'));

0 commit comments

Comments
 (0)