Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

report errors from parsing and validating tsconfig.json #3410

Merged
merged 2 commits into from
Oct 31, 2017
Merged

report errors from parsing and validating tsconfig.json #3410

merged 2 commits into from
Oct 31, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Oct 27, 2017

PR checklist

Overview of change:

[bugfix] show errors when tsconfig.json is invalid
Fixes: #3409

Is there anything you'd like reviewers to focus on?

This might break users with invalid tsconfig.json, obviously. It also reports invalid (or yet unknown) compilerOptions. That might be a problem when you target different versions of typescript with the same config. However, tsc will output the same error upon execution.
I consider this a bugfix, because users should notice when they use an invalid tsconfig.json.

CHANGELOG.md entry:

[bugfix] show errors when `tsconfig.json` is invalid
Fixes: #3409
Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

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

yeah I agree this is a good bugfix, not a breaking change

@adidahiya adidahiya merged commit 50f8286 into palantir:master Oct 31, 2017
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this pull request Apr 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linter.createProgram ignores errors
2 participants