File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "devDependencies" : {
1616 "debounce" : " ^1.0.0" ,
1717 "event-stream" : " ^3.1.7" ,
18+ "ghooks" : " 1.0.3" ,
1819 "glob" : " ^5.0.13" ,
1920 "gulp" : " ^3.8.9" ,
2021 "gulp-bom" : " ^1.0.0" ,
2526 "gulp-rename" : " ^1.2.0" ,
2627 "gulp-sourcemaps" : " ^1.6.0" ,
2728 "gulp-tsb" : " ^2.0.1" ,
29+ "gulp-tslint" : " ^4.3.0" ,
2830 "gulp-uglify" : " ^2.0.0" ,
2931 "gulp-util" : " ^3.0.6" ,
3032 "gulp-watch" : " ^4.3.9" ,
4042 "rimraf" : " ^2.2.8" ,
4143 "sinon" : " ^1.17.2" ,
4244 "source-map" : " ^0.4.4" ,
45+ "tslint" : " ^3.3.0" ,
4346 "typescript" : " ^2.0.3" ,
47+ "typescript-formatter" : " 3.1.0" ,
4448 "underscore" : " ^1.8.2" ,
4549 "vinyl" : " ^0.4.5" ,
4650 "vscode-nls-dev" : " ^2.0.1"
Original file line number Diff line number Diff line change @@ -52,12 +52,17 @@ var ALL_EDITOR_TASKS = [
5252 'minify-editor' ,
5353 'clean-editor-distro' ,
5454 'editor-distro' ,
55- 'analyze-editor-distro'
55+ 'analyze-editor-distro' ,
56+
57+ // hygiene tasks
58+ 'tslint' ,
59+ 'hygiene' ,
5660] ;
5761var runningEditorTasks = process . argv . length > 2 && process . argv . slice ( 2 ) . every ( function ( arg ) { return ( ALL_EDITOR_TASKS . indexOf ( arg ) !== - 1 ) ; } ) ;
5862
5963if ( runningEditorTasks ) {
6064 require ( `./build/gulpfile.editor` ) ;
65+ require ( `./build/gulpfile.hygiene` ) ;
6166} else {
6267 // Load all the gulpfiles only if running tasks other than the editor tasks
6368 const build = path . join ( __dirname , 'build' ) ;
Original file line number Diff line number Diff line change 1+ /*---------------------------------------------------------------------------------------------
2+ * Copyright (c) Microsoft Corporation. All rights reserved.
3+ * Licensed under the MIT License. See License.txt in the project root for license information.
4+ *--------------------------------------------------------------------------------------------*/
5+
6+ 'use strict' ;
17
28var fs = require ( 'fs' ) ;
39var cp = require ( 'child_process' ) ;
You can’t perform that action at this time.
0 commit comments