-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
skipLibCheck
and pretty
options should be listed in the initial config
#37361
Labels
Comments
RyanCavanaugh
added
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
labels
Mar 12, 2020
|
|
There is PR #34686 Should it address this.. It removes the comments so is that expected or not? |
This was referenced Apr 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search Terms
tsconfig, skipLibCheck, pretty, init, defaults
Suggestion
The
skipLibCheck
andpretty
compiler options should be listed in the config created by--init
(continuing #20961).pretty
makes it easier to parse the error output, andskipLibCheck
has seen popular use, for example, increate-react-app
, in part because the lib errors would be in code not controlled by the user. It's a common enough issue that it would be helpful to make users aware ofskipLibCheck
when they need it by having read the defaults. Similarly forpretty
; it's a helpful option that may be underused because there isn't enough awareness of it.Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: