We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
json-schema-to-ts
dependencies
Progress of the issue based on the Contributor Workflow
Describe the bug
When type-checking a project with @graphql-eslint/eslint-plugin and skipLibCheck: false, I get the following:
@graphql-eslint/eslint-plugin
skipLibCheck: false
node_modules/@graphql-eslint/eslint-plugin/esm/types.d.mts:4:28 - error TS2307: Cannot find module 'json-schema-to-ts' or its corresponding type declarations. │ │ 4 import { JSONSchema } from 'json-schema-to-ts';
To reproduce
Just skipLibCheck: false is enough.
Expected behavior
No errors.
Environment:
4.0.0-alpha.0
Additional context
Workaround with Yarn:
packageExtensions: '@graphql-eslint/eslint-plugin@*': dependencies: json-schema-to-ts: ^2
Let me know if you need more details or a reproduction.
The text was updated successfully, but these errors were encountered:
Hi! I don't think I want to include types dependency in package.json's dependencies, wdyt @dotansimha ?
package.json
Sorry, something went wrong.
At least as an optional peer dependency? Similar discussion in ESLint.
LGTM Feel free submit a PR
Successfully merging a pull request may close this issue.
Issue workflow progress
Progress of the issue based on the Contributor Workflow
Describe the bug
When type-checking a project with
@graphql-eslint/eslint-plugin
andskipLibCheck: false
, I get the following:To reproduce
Just
skipLibCheck: false
is enough.Expected behavior
No errors.
Environment:
@graphql-eslint/eslint-plugin
:4.0.0-alpha.0
Additional context
Workaround with Yarn:
Let me know if you need more details or a reproduction.
The text was updated successfully, but these errors were encountered: