@@ -106,6 +106,16 @@ var serverCoreSources = [
106106 return path . join ( serverDirectory , f ) ;
107107} ) ;
108108
109+ var scriptSources = [
110+ "tslint/booleanTriviaRule.ts" ,
111+ "tslint/nextLineRule.ts" ,
112+ "tslint/noNullRule.ts" ,
113+ "tslint/preferConstRule.ts" ,
114+ "tslint/typeOperatorSpacingRule.ts"
115+ ] . map ( function ( f ) {
116+ return path . join ( scriptsDirectory , f ) ;
117+ } ) ;
118+
109119var serverSources = serverCoreSources . concat ( servicesSources ) ;
110120
111121var languageServiceLibrarySources = [
@@ -365,7 +375,6 @@ file(builtGeneratedDiagnosticMessagesJSON,[generatedDiagnosticMessagesJSON], fun
365375desc ( "Generates a diagnostic file in TypeScript based on an input JSON file" ) ;
366376task ( "generate-diagnostics" , [ diagnosticInfoMapTs ] ) ;
367377
368-
369378// Publish nightly
370379var configureNightlyJs = path . join ( scriptsDirectory , "configureNightly.js" ) ;
371380var configureNightlyTs = path . join ( scriptsDirectory , "configureNightly.ts" ) ;
@@ -909,7 +918,8 @@ function lintFileAsync(options, path, cb) {
909918
910919var lintTargets = compilerSources
911920 . concat ( harnessCoreSources )
912- . concat ( serverCoreSources ) ;
921+ . concat ( serverCoreSources )
922+ . concat ( scriptSources ) ;
913923
914924desc ( "Runs tslint on the compiler sources" ) ;
915925task ( "lint" , [ "build-rules" ] , function ( ) {
0 commit comments