You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tsc validates and warns about invalid properties in compilerOptions section which is great!. It would be really helpful if it would do the same for the root of the config file.
Use Cases
Easily identify mistakes/typos in configuration.
Examples
Sometimes people put complier option in the root by mistake, then scratching the head for hours trying to understand what is wrong.
In example below path mapping obviously won't work:
@RyanCavanaugh Maybe a warning if e.g. outDir is specified in the root of tsconfig instead of compilerOptions? Just took me 20 minutes to find my typo:
Search Terms
tsconfig validate
Suggestion
Currently tsc validates and warns about invalid properties in
compilerOptions
section which is great!. It would be really helpful if it would do the same for the root of the config file.Use Cases
Easily identify mistakes/typos in configuration.
Examples
Sometimes people put complier option in the root by mistake, then scratching the head for hours trying to understand what is wrong.
In example below path mapping obviously won't work:
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: