1
1
"use strict" ;
2
2
var fsu = require ( "../utils/fsUtil" ) ;
3
- var simpleValidator = require ( " ./simpleValidator" ) ;
3
+ var simpleValidator = require ( ' ./simpleValidator' ) ;
4
4
var types = simpleValidator . types ;
5
5
var compilerOptionsValidation = {
6
6
allowJs : { type : types . boolean } ,
@@ -56,6 +56,7 @@ var compilerOptionsValidation = {
56
56
removeComments : { type : types . boolean } ,
57
57
rootDir : { type : types . string } ,
58
58
skipDefaultLibCheck : { type : types . boolean } ,
59
+ skipLibCheck : { type : types . boolean } ,
59
60
sourceMap : { type : types . boolean } ,
60
61
sourceRoot : { type : types . string } ,
61
62
strictNullChecks : { type : types . boolean } ,
@@ -64,7 +65,7 @@ var compilerOptionsValidation = {
64
65
suppressImplicitAnyIndexErrors : { type : types . boolean } ,
65
66
target : { type : types . string , validValues : [ 'es3' , 'es5' , 'es6' , 'es2015' ] } ,
66
67
typeRoots : { type : types . array } ,
67
- types : { type : types . object } ,
68
+ types : { type : types . array } ,
68
69
version : { type : types . boolean } ,
69
70
watch : { type : types . boolean } ,
70
71
lib : { type : types . array }
@@ -84,13 +85,13 @@ function errorWithDetails(error, details) {
84
85
error . details = details ;
85
86
return error ;
86
87
}
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' ) ;
94
95
var projectFileName = 'tsconfig.json' ;
95
96
var defaultFilesGlob = [
96
97
"**/*.ts" ,
0 commit comments