Skip to content

unknown compiler options should not stop parsing of tsconfig.json #9577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mhegazy opened this issue Jul 8, 2016 · 3 comments
Closed

unknown compiler options should not stop parsing of tsconfig.json #9577

mhegazy opened this issue Jul 8, 2016 · 3 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@mhegazy
Copy link
Contributor

mhegazy commented Jul 8, 2016

If a tsconfig.json has an unknown option, the whole tsconfig.json is thrown away. This is too drastic. instead, only unknown properties should be ignored, and other properties kept.

@mhegazy mhegazy added the Bug A bug in TypeScript label Jul 8, 2016
@mhegazy mhegazy added this to the TypeScript 2.0.1 milestone Jul 8, 2016
@Arnavion
Copy link
Contributor

But please warn about them to help catch typos.

@DanielRosenwasser
Copy link
Member

DanielRosenwasser commented Aug 21, 2016

--wranAbuotUknownOptionss

@basarat
Copy link
Contributor

basarat commented Aug 22, 2016

If a tsconfig.json has an unknown option

I think an valid compile output but with a error message + code (just like a type failure) would be nice 🌹

@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Aug 22, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

5 participants