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

Add JSON schema support for Jest configuration files and package.json #638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcusrbrown
Copy link

Provides tooltips, autocomplete, and validation of Jest configuration files.

package.json:

image

jest.*json:

image

@coveralls
Copy link

coveralls commented Dec 14, 2020

Pull Request Test Coverage Report for Build 859

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.624%

Totals Coverage Status
Change from base Build 855: 0.0%
Covered Lines: 1062
Relevant Lines: 1177

💛 - Coveralls

@connectdotz
Copy link
Collaborator

@igetgames thanks for the PR, I think this is a great idea 👍 .

However, I noticed there is an existing PR in jest (jestjs/jest#9879) that tries to correct and pull in the schema. We should probably wait when the schema is properly vetted and preferably merged into the jest official repo. Let's keep an eye on that PR...

@marcusrbrown
Copy link
Author

Makes sense @connectdotz, thanks for the heads up. I had come across @askirmas's site while looking for the schema, not realizing he was trying to get it into Jest directly.

@askirmas
Copy link

If I remember well, guys wanted to see schema fully integrated with their TS/Docs.md/CLI. Too many stuff for me alone, so I’m just pasting schema URL in vscode settings across my projects, updating on demand and pasting snippets as "examples"

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.

4 participants