build: add the `tslint` gulp task (#14481)
This commit is contained in:
parent
8b81bb1eb6
commit
269cf42b72
|
@ -29,7 +29,8 @@ gulp.task('format', loadTask('format', 'format'));
|
|||
gulp.task('build.sh', loadTask('build'));
|
||||
gulp.task('public-api:enforce', loadTask('public-api', 'enforce'));
|
||||
gulp.task('public-api:update', ['build.sh'], loadTask('public-api', 'update'));
|
||||
gulp.task('lint', ['format:enforce', 'tools:build', 'validate-commit-messages'], loadTask('lint'));
|
||||
gulp.task('lint', ['format:enforce', 'validate-commit-messages', 'tslint']);
|
||||
gulp.task('tslint', ['tools:build'], loadTask('lint'));
|
||||
gulp.task('validate-commit-messages', loadTask('validate-commit-message'));
|
||||
gulp.task('tools:build', loadTask('tools-build'));
|
||||
gulp.task('check-cycle', loadTask('check-cycle'));
|
||||
|
|
|
@ -37,7 +37,7 @@ module.exports = {
|
|||
The tasks are loaded in the gulp file, by requiring them. There is a helper called `loadTask(fileName, taskName)`
|
||||
will do this for us, where the `taskName` is optional if the file only exports one task.
|
||||
|
||||
E.g. Loading the task that will run the build, from a task file that contans only one task.
|
||||
E.g. Loading the task that will run the build, from a task file that contains only one task.
|
||||
|
||||
```js
|
||||
gulp.task('build.sh', loadTask('build'));
|
||||
|
|
Loading…
Reference in New Issue