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

Disable VSCode type checking #2767

Merged
merged 1 commit into from
Mar 17, 2018
Merged

Conversation

chabou
Copy link
Collaborator

@chabou chabou commented Mar 17, 2018

Type checking was introduced here: #2272

But there are some confusing errors.
If someone wants to re-enable this, please fix errors too

@chabou chabou changed the title Disable VSCode type chekcing Disable VSCode type checking Mar 17, 2018
@chabou chabou merged commit 933e6f4 into vercel:canary Mar 17, 2018
@albinekb
Copy link
Contributor

Why? @chabou I don't think turning it off is the correct solution..

@chabou
Copy link
Collaborator Author

chabou commented Mar 17, 2018

I don't have time to correct these errors (some false positive). I constantly disable it when I create a branch from canary and pay attention to not commit jsconfig.json file.

We made an error to accept the previous PR without resolving found errors.

Feel free to reactive this type checking with all error resolved and, if possible a Husky hook to prevent errors to be committed.

@Tyriar
Copy link
Contributor

Tyriar commented Mar 17, 2018

It might be better to do this either at the user settings level:

"javascript.implicitProjectConfig.checkJs": true

Or the file level

// @ts-check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants