@@ -108,17 +108,6 @@ var serverCoreSources = [
108108 return path . join ( serverDirectory , f ) ;
109109} ) ;
110110
111- var scriptSources = [
112- "tslint/booleanTriviaRule.ts" ,
113- "tslint/nextLineRule.ts" ,
114- "tslint/noNullRule.ts" ,
115- "tslint/preferConstRule.ts" ,
116- "tslint/typeOperatorSpacingRule.ts" ,
117- "tslint/noInOperatorRule.ts"
118- ] . map ( function ( f ) {
119- return path . join ( scriptsDirectory , f ) ;
120- } ) ;
121-
122111var serverSources = serverCoreSources . concat ( servicesSources ) ;
123112
124113var languageServiceLibrarySources = [
@@ -877,7 +866,8 @@ var tslintRules = ([
877866 "preferConstRule" ,
878867 "booleanTriviaRule" ,
879868 "typeOperatorSpacingRule" ,
880- "noInOperatorRule"
869+ "noInOperatorRule" ,
870+ "noIncrementDecrementRule"
881871] ) ;
882872var tslintRulesFiles = tslintRules . map ( function ( p ) {
883873 return path . join ( tslintRuleDir , p + ".ts" ) ;
@@ -923,7 +913,7 @@ function lintFileAsync(options, path, cb) {
923913var lintTargets = compilerSources
924914 . concat ( harnessCoreSources )
925915 . concat ( serverCoreSources )
926- . concat ( scriptSources ) ;
916+ . concat ( tslintRulesFiles ) ;
927917
928918desc ( "Runs tslint on the compiler sources" ) ;
929919task ( "lint" , [ "build-rules" ] , function ( ) {
0 commit comments