1
1
import { CompilerOptionName } from "../data/_types" ;
2
2
3
+ /**
4
+ * Changes to these rules should be reflected in the following files:
5
+ * https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/tsconfig.json
6
+ * https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/jsconfig.json
7
+ */
8
+
3
9
/** Options which should never show on the references, basically anything that's for the CLI not the TSConfig */
4
10
export const denyList : CompilerOptionName [ ] = [
5
11
"help" ,
@@ -237,12 +243,15 @@ export const allowedValues = {
237
243
"useFsEventsOnParentDirectory" ,
238
244
] ,
239
245
fallbackPolling : [
246
+ "fixedPollingInterval" ,
247
+ "priorityPollingInterval" ,
248
+ "dynamicPriorityPolling" ,
249
+ ] ,
250
+ watchDirectory : [
240
251
"fixedPollingInterval" ,
241
252
"dynamicPriorityPolling" ,
242
253
"useFsEvents" ,
243
- "synchronousWatchDirectory" ,
244
254
] ,
245
- watchDirectory : [ "fixedPollingInterval" , "dynamicPriorityPolling" , "useFsEvents" ] ,
246
255
} ;
247
256
248
257
export const releaseToConfigsMap : { [ key : string ] : AnOption [ ] } = {
@@ -258,7 +267,6 @@ export const releaseToConfigsMap: { [key: string]: AnOption[] } = {
258
267
] ,
259
268
"3.7" : [
260
269
"disableSourceOfProjectReferenceRedirect" ,
261
- "downlevelIteration" ,
262
270
"generateCpuProfile" ,
263
271
"useDefineForClassFields" ,
264
272
] ,
@@ -271,7 +279,7 @@ export const releaseToConfigsMap: { [key: string]: AnOption[] } = {
271
279
"2.7" : [ "strictPropertyInitialization" , "esModuleInterop" ] ,
272
280
"2.6" : [ "strictFunctionTypes" ] ,
273
281
"2.4" : [ "noStrictGenericChecks" ] ,
274
- "2.3" : [ "strict" , "downlevelIteration" , "init" ] ,
282
+ "2.3" : [ "strict" , "downlevelIteration" , "init" , "checkJs" ] ,
275
283
"2.2" : [ "jsx" ] ,
276
284
"2.1" : [ "extends" , "alwaysStrict" ] ,
277
285
"2.0" : [
0 commit comments