Skip to content
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

Make skipLibCheck: true the default in --init #37808

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

orta
Copy link
Contributor

@orta orta commented Apr 6, 2020

Fixes #37361 - we don't need "pretty" in there IMO, this brings the output of --init in line with @RyanCavanaugh's comment from our design meeting - #37389

@@ -1115,7 +1115,8 @@ namespace ts {
target: ScriptTarget.ES5,
strict: true,
esModuleInterop: true,
forceConsistentCasingInFileNames: true
forceConsistentCasingInFileNames: true,
skipLibCheck: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the design meeting::

Ask is for skipLibCheck to be included in tsc --init, not that it's turned on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I agree - it looks like that. I think the design notes were the first part of the discussion - the JSON dump we worked on included it as true

Screen Shot 2020-04-07 at 8 56 51 AM

@orta orta merged commit 3398c9b into microsoft:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

skipLibCheck and pretty options should be listed in the initial config
4 participants