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

Unsupported JSON "$schema" value #2015

Closed
nazarhussain opened this issue Jul 25, 2022 · 1 comment · Fixed by #2016
Closed

Unsupported JSON "$schema" value #2015

nazarhussain opened this issue Jul 25, 2022 · 1 comment · Fixed by #2016
Labels
bug Functionality does not match expectation

Comments

@nazarhussain
Copy link
Contributor

nazarhussain commented Jul 25, 2022

Search terms

tsdoc, eslint-plugin-tsdoc, eslint

Expected Behavior

We should be able to use the tsdoc.json defined by typedoc for linting with eslint-pluign-tsdoc.

Actual Behavior

We get following error when using this tsdoc.json

  1:2  warning  Error loading TSDoc config file:
Error encountered for node_modules/typedoc/tsdoc.json:
  Unsupported JSON "$schema" value; expecting "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json"
  tsdoc/syntax

Steps to reproduce the bug

Use following tsdoc.json in your project root.

{
  "extends": ["typedoc/tsdoc.json"]
}

Environment

  • Typedoc version: 0.23.9
  • TypeScript version: 4.7.4
  • Node.js version: 16.x
  • OS: Mac
  • Eslint: 8.20.0
  • eslint-plugin-tsdoc: 0.2.16
@nazarhussain nazarhussain added the bug Functionality does not match expectation label Jul 25, 2022
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jul 25, 2022

Oh that's fun, I didn't notice the schema redirected when visited to the en-us url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants