11"use strict" ;
22var fsu = require ( "../utils/fsUtil" ) ;
3- var simpleValidator = require ( " ./simpleValidator" ) ;
3+ var simpleValidator = require ( ' ./simpleValidator' ) ;
44var types = simpleValidator . types ;
55var compilerOptionsValidation = {
66 allowJs : { type : types . boolean } ,
@@ -56,6 +56,7 @@ var compilerOptionsValidation = {
5656 removeComments : { type : types . boolean } ,
5757 rootDir : { type : types . string } ,
5858 skipDefaultLibCheck : { type : types . boolean } ,
59+ skipLibCheck : { type : types . boolean } ,
5960 sourceMap : { type : types . boolean } ,
6061 sourceRoot : { type : types . string } ,
6162 strictNullChecks : { type : types . boolean } ,
@@ -64,7 +65,7 @@ var compilerOptionsValidation = {
6465 suppressImplicitAnyIndexErrors : { type : types . boolean } ,
6566 target : { type : types . string , validValues : [ 'es3' , 'es5' , 'es6' , 'es2015' ] } ,
6667 typeRoots : { type : types . array } ,
67- types : { type : types . object } ,
68+ types : { type : types . array } ,
6869 version : { type : types . boolean } ,
6970 watch : { type : types . boolean } ,
7071 lib : { type : types . array }
@@ -84,13 +85,13 @@ function errorWithDetails(error, details) {
8485 error . details = details ;
8586 return error ;
8687}
87- var fs = require ( "fs" ) ;
88- var path = require ( " path" ) ;
89- var tsconfig = require ( " tsconfig" ) ;
90- var os = require ( "os" ) ;
91- var detectIndent = require ( " detect-indent" ) ;
92- var detectNewline = require ( " detect-newline" ) ;
93- var formatting = require ( " ./formatting" ) ;
88+ var fs = require ( 'fs' ) ;
89+ var path = require ( ' path' ) ;
90+ var tsconfig = require ( ' tsconfig' ) ;
91+ var os = require ( 'os' ) ;
92+ var detectIndent = require ( ' detect-indent' ) ;
93+ var detectNewline = require ( ' detect-newline' ) ;
94+ var formatting = require ( ' ./formatting' ) ;
9495var projectFileName = 'tsconfig.json' ;
9596var defaultFilesGlob = [
9697 "**/*.ts" ,
0 commit comments